diff options
author | Salikhov Dinislam <[email protected]> | 2017-05-09 13:54:25 +0300 |
---|---|---|
committer | Salikhov Dinislam <[email protected]> | 2017-05-21 22:23:35 +0300 |
commit | 0e624b9bda67305557a5d8de14ce67b461d8e382 (patch) | |
tree | da765a091949badc71d1876fef0099d37a217b9d /lib/crypto | |
parent | bc91e7e9c000145d5feec6877c3abe5e6747351b (diff) | |
download | otp-0e624b9bda67305557a5d8de14ce67b461d8e382.tar.gz otp-0e624b9bda67305557a5d8de14ce67b461d8e382.tar.bz2 otp-0e624b9bda67305557a5d8de14ce67b461d8e382.zip |
crypto: Make internal arrays static
Diffstat (limited to 'lib/crypto')
-rw-r--r-- | lib/crypto/c_src/crypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c index 793cff166c..3c7d5daff5 100644 --- a/lib/crypto/c_src/crypto.c +++ b/lib/crypto/c_src/crypto.c @@ -609,7 +609,7 @@ struct digest_type_t { }md; }; -struct digest_type_t digest_types[] = +static struct digest_type_t digest_types[] = { {{"md4"}, {&EVP_md4}}, {{"md5"}, {&EVP_md5}}, @@ -666,7 +666,7 @@ struct cipher_type_t { #define COND_NO_DES_PTR(Ptr) (Ptr) #endif -struct cipher_type_t cipher_types[] = +static struct cipher_type_t cipher_types[] = { {{"rc2_cbc"}, #ifndef OPENSSL_NO_RC2 |