aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-06-02 14:23:11 +0200
committerGitHub <[email protected]>2017-06-02 14:23:11 +0200
commite22a5777e6deeebb55b39ac8088fd40da6102ac9 (patch)
tree23f737f61b8b26f785285f27cc5a3f0e891b8f62 /lib/crypto
parentfa13991ee9fb06c2c671d698cef468ad9302ea46 (diff)
parent0e624b9bda67305557a5d8de14ce67b461d8e382 (diff)
downloadotp-e22a5777e6deeebb55b39ac8088fd40da6102ac9.tar.gz
otp-e22a5777e6deeebb55b39ac8088fd40da6102ac9.tar.bz2
otp-e22a5777e6deeebb55b39ac8088fd40da6102ac9.zip
Merge pull request #1473 from SalikhovDinislam/static_code
Make some C code static
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/c_src/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index 4ae7edd8b2..688ec339aa 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