X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Fssl.h;h=6b66407edc1ccd0aeab0123c6a03162788748195;hp=b085c9ebb202e99c983df13a7d870b09d38a4858;hb=03b0e735556ed31c3e9096350e7a4563ea9d34b7;hpb=6827cb3610fee4ec8cc120cc6b5bf88b04884ae7 diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index b085c9ebb2..6b66407edc 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1835,7 +1835,9 @@ __owur const char *SSL_COMP_get_name(const COMP_METHOD *comp); STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void); __owur STACK_OF(SSL_COMP) *SSL_COMP_set0_compression_methods(STACK_OF(SSL_COMP) *meths); -void SSL_COMP_free_compression_methods(void); +#if OPENSSL_API_COMPAT < 0x10100000L +# define SSL_COMP_free_compression_methods() +#endif __owur int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm); const SSL_CIPHER *SSL_CIPHER_find(SSL *ssl, const unsigned char *ptr);