aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2016-01-12 14:03:30 -0500
committerViktor Dukhovni <openssl-users@dukhovni.org>2016-01-12 14:16:04 -0500
commit4b1fa408b299ed19edba0828109ed93ac1d5322f (patch)
tree369be9c4e4c234ac0c83ee1a6078e77787dc0e9f
parentcf926b4563165c92b09ec7854d054e618b80de4c (diff)
downloadopenssl-4b1fa408b299ed19edba0828109ed93ac1d5322f.tar.gz
STACK_OF(SSL_COMP) is a public type
Reviewed-by: Rich Salz <rsalz@openssl.org>
-rw-r--r--include/openssl/ssl.h2
-rw-r--r--ssl/ssl_locl.h3
2 files changed, 2 insertions, 3 deletions
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);