diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2018-01-07 22:19:13 +0200 |
---|---|---|
committer | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2018-01-20 22:17:13 +0200 |
commit | cd7ed2e3546b12dd98df4211949f1cdbf5827013 (patch) | |
tree | aedea8bc1e5f2d9942b07cc5fe69650518234d52 /cipher/mac.c | |
parent | 93503c127a52c1f6a193750e2bf181a744ba3e6b (diff) | |
download | libgcrypt-cd7ed2e3546b12dd98df4211949f1cdbf5827013.tar.gz |
cipher: constify spec arrays
* cipher/cipher.c (cipher_list): Constify array.
* cipher/mac.c (mac_list): Constify array.
* cipher/md.c (digest_list): Constify array.
* cipher/pubkey.c (pubkey_list): Constify array.
--
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'cipher/mac.c')
-rw-r--r-- | cipher/mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/mac.c b/cipher/mac.c index 46be7b7b..4a7a47df 100644 --- a/cipher/mac.c +++ b/cipher/mac.c @@ -29,7 +29,7 @@ /* This is the list of the digest implementations included in libgcrypt. */ -static gcry_mac_spec_t *mac_list[] = { +static gcry_mac_spec_t * const mac_list[] = { #if USE_SHA1 &_gcry_mac_type_spec_hmac_sha1, #endif |