summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2016-02-13 18:46:30 +0100
committerRich Salz <rsalz@openssl.org>2016-02-13 13:29:58 -0500
commitf0ff328e360f56d8a79cbb61b2931a13fb7199c2 (patch)
tree535ca5cf69b2dc3711e5a091c569250947e213c3 /ssl
parentde72be2e5784269088cc77479f41c8aeb82fcf6b (diff)
GH675: make ssl3_ciphers static
Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_lib.c2
-rw-r--r--ssl/ssl_locl.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index 3e1e60da5b..8f6eda2c71 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -159,7 +159,7 @@
#define SSL3_NUM_CIPHERS OSSL_NELEM(ssl3_ciphers)
/* list of available SSLv3 ciphers (sorted by id) */
-OPENSSL_GLOBAL const SSL_CIPHER ssl3_ciphers[] = {
+static const SSL_CIPHER ssl3_ciphers[] = {
/* The RSA ciphers */
/* Cipher 01 */
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index 913b0e9dc3..dc0db1fdd1 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -1691,7 +1691,6 @@ typedef struct ssl3_comp_st {
# endif
extern SSL3_ENC_METHOD ssl3_undef_enc_method;
-OPENSSL_EXTERN const SSL_CIPHER ssl3_ciphers[];
SSL_METHOD *ssl_bad_method(int ver);