From: Andy Polyakov Date: Wed, 13 Apr 2005 21:46:30 +0000 (+0000) Subject: More cover-ups, removing OPENSSL_GLOBAL/EXTERNS. We can remove more... X-Git-Tag: OpenSSL_0_9_8-beta1~13^2~190 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3ed449e94a55ee2b8a49d947bcfac582928cf34a;p=oweals%2Fopenssl.git More cover-ups, removing OPENSSL_GLOBAL/EXTERNS. We can remove more... --- 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[];