Commit 4b1fa408 authored by Viktor Dukhovni's avatar Viktor Dukhovni
Browse files

STACK_OF(SSL_COMP) is a public type



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent cf926b45
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 {
+0 −3
Original line number Diff line number Diff line
@@ -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);