Skip to content

Commit 1d794ab

Browse files
committed
evp_fetch: constify fetch_entries
Signed-off-by: Eugene Syromiatnikov <[email protected]>
1 parent c37d0a7 commit 1d794ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/evp_fetch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ struct fetch_data_entry {
113113
* The post quantum algorithms must be the last entries in the
114114
* list, so we can easily skip them if we don't want them.
115115
*/
116-
static struct fetch_data_entry fetch_entries[] = {
116+
static const struct fetch_data_entry fetch_entries[] = {
117117
{FETCH_MD, OSSL_DIGEST_NAME_SHA2_224, NULL},
118118
{FETCH_MD, OSSL_DIGEST_NAME_SHA2_256, NULL},
119119
{FETCH_MD, OSSL_DIGEST_NAME_SHA3_224, NULL},

0 commit comments

Comments
 (0)