From: Viktor Dukhovni Date: Tue, 12 Jan 2016 19:03:30 +0000 (-0500) Subject: STACK_OF(SSL_COMP) is a public type X-Git-Tag: OpenSSL_1_1_0-pre2~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b1fa408b299ed19edba0828109ed93ac1d5322f;p=oweals%2Fopenssl.git STACK_OF(SSL_COMP) is a public type Reviewed-by: Rich Salz --- diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index b6ba59b400..ec4adc4ca2 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -325,8 +325,10 @@ typedef struct ssl_cipher_st SSL_CIPHER; typedef struct ssl_session_st SSL_SESSION; typedef struct tls_sigalgs_st TLS_SIGALGS; typedef struct ssl_conf_ctx_st SSL_CONF_CTX; +typedef struct ssl_comp_st SSL_COMP; DEFINE_STACK_OF_CONST(SSL_CIPHER) +DEFINE_STACK_OF(SSL_COMP) /* SRTP protection profiles for use with the use_srtp extension (RFC 5764)*/ typedef struct srtp_protection_profile_st { diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index a490cd3e4b..c222a7d461 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -685,15 +685,12 @@ typedef struct srp_ctx_st { # endif -typedef struct ssl_comp_st SSL_COMP; - struct ssl_comp_st { int id; const char *name; COMP_METHOD *method; }; -DEFINE_STACK_OF(SSL_COMP) DEFINE_LHASH_OF(SSL_SESSION);