aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);