SSL_COMP_get_compression_method is a typo (a missing 's' at the end of
authorRichard Levitte <levitte@openssl.org>
Thu, 25 Mar 2004 21:32:30 +0000 (21:32 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 25 Mar 2004 21:32:30 +0000 (21:32 +0000)
the symbol name).

crypto/symhacks.h
ssl/ssl.h
ssl/ssl_locl.h
util/ssleay.num

index a40e4fa468e124eb2b8c23083855b1b89449ed9e..9a46a2a2107900564726386cd0e94745fda92f65 100644 (file)
 #define SSL_CTX_set_cert_verify_callback        SSL_CTX_set_cert_verify_cb
 #undef SSL_CTX_set_default_passwd_cb_userdata
 #define SSL_CTX_set_default_passwd_cb_userdata  SSL_CTX_set_def_passwd_cb_ud
+#undef SSL_COMP_get_compression_methods
+#define SSL_COMP_get_compression_methods       SSL_COMP_get_compress_methods
 
 /* Hack some long ENGINE names */
 #undef ENGINE_get_default_BN_mod_exp_crt
index 6a022bf03e3b06b433a943c231a0cc2da60c1527..8a16d77ac4e78ba55c4705ca1307df6b4ee3076c 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -1490,10 +1490,10 @@ void SSL_set_tmp_ecdh_callback(SSL *ssl,
 #endif
 
 #ifndef OPENSSL_NO_COMP
-STACK_OF(SSL_COMP) *SSL_COMP_get_compression_method(void);
+STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void);
 int SSL_COMP_add_compression_method(int id,COMP_METHOD *cm);
 #else
-void *SSL_COMP_get_compression_method(void);
+void *SSL_COMP_get_compression_methods(void);
 int SSL_COMP_add_compression_method(int id,char *cm);
 #endif
 
index c2e6ff8cf7c8a33487adc51af2415013079b9a3c..26e518ade72e46bc460ee0ef33518ec9f846ac40 100644 (file)
@@ -492,11 +492,6 @@ OPENSSL_EXTERN SSL3_ENC_METHOD ssl3_undef_enc_method;
 OPENSSL_EXTERN SSL_CIPHER ssl2_ciphers[];
 OPENSSL_EXTERN SSL_CIPHER ssl3_ciphers[];
 
-#ifdef OPENSSL_SYS_VMS
-#undef SSL_COMP_get_compression_methods
-#define SSL_COMP_get_compression_methods       SSL_COMP_get_compress_methods
-#endif
-
 
 SSL_METHOD *ssl_bad_method(int ver);
 SSL_METHOD *sslv2_base_method(void);
@@ -643,7 +638,6 @@ int ssl_ok(SSL *s);
 int check_srvr_ecc_cert_and_alg(X509 *x, SSL_CIPHER *cs);
 
 SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n);
-STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void);
 
 
 #endif
index c2a4909f110bbaa865d9017165b198b6198bb826..8ed7b4ab107ba2fdddc265fab2e91121da8b22a2 100755 (executable)
@@ -218,8 +218,8 @@ SSL_set_msg_callback                    267 EXIST::FUNCTION:
 SSL_set_tmp_ecdh_callback               268    EXIST::FUNCTION:ECDH
 SSL_CTX_set_tmp_ecdh_callback           269    EXIST::FUNCTION:ECDH
 SSL_SESSION_get_id                      270    EXIST::FUNCTION:
-SSL_COMP_get_compression_method         271    EXIST::FUNCTION:COMP
+SSL_COMP_get_compression_methods        271    EXIST:!VMS:FUNCTION:COMP
+SSL_COMP_get_compress_methods           271    EXIST:VMS:FUNCTION:COMP
 SSL_COMP_get_name                       272    EXIST::FUNCTION:
 SSL_get_current_expansion               273    EXIST::FUNCTION:
 SSL_get_current_compression             274    EXIST::FUNCTION:
-SSL_COMP_get_compression_methods        275    EXIST::FUNCTION: