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 a40e4fa..9a46a2a 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 6a022bf..8a16d77 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 c2e6ff8..26e518a 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 c2a4909..8ed7b4a 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: