SSL_COMP_get_compression_method is a typo (a missing 's' at the end of
[openssl.git] / ssl / ssl.h
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