diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 71d4f64975..7d40632ddf 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -129,7 +129,7 @@ const char *SSL_version_str=OPENSSL_VERSION_TEXT; -OPENSSL_GLOBAL SSL3_ENC_METHOD ssl3_undef_enc_method={ +SSL3_ENC_METHOD ssl3_undef_enc_method={ /* evil casts, but these functions are only called if there's a library bug */ (int (*)(SSL *,int))ssl_undefined_function, (int (*)(SSL *, unsigned char *, int))ssl_undefined_function, diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index fcbfb161aa..8ff2021bc5 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -487,7 +487,7 @@ typedef struct ssl3_comp_st COMP_METHOD *method; /* The method :-) */ } SSL3_COMP; -OPENSSL_EXTERN SSL3_ENC_METHOD ssl3_undef_enc_method; +extern SSL3_ENC_METHOD ssl3_undef_enc_method; OPENSSL_EXTERN SSL_CIPHER ssl2_ciphers[]; OPENSSL_EXTERN SSL_CIPHER ssl3_ciphers[];