Fix building with no-srtp
RT3638 Reviewed-by: Emilia Käsper <emilia@openssl.org>
This commit is contained in:
committed by
Matt Caswell
parent
cb2bc0543a
commit
e783bae26a
@@ -631,8 +631,10 @@ void SSL_free(SSL *s)
|
||||
OPENSSL_free(s->next_proto_negotiated);
|
||||
#endif
|
||||
|
||||
#ifndef OPENSSL_NO_SRTP
|
||||
if (s->srtp_profiles)
|
||||
sk_SRTP_PROTECTION_PROFILE_free(s->srtp_profiles);
|
||||
#endif
|
||||
|
||||
OPENSSL_free(s);
|
||||
}
|
||||
@@ -2145,8 +2147,10 @@ void SSL_CTX_free(SSL_CTX *a)
|
||||
a->comp_methods = NULL;
|
||||
#endif
|
||||
|
||||
#ifndef OPENSSL_NO_SRTP
|
||||
if (a->srtp_profiles)
|
||||
sk_SRTP_PROTECTION_PROFILE_free(a->srtp_profiles);
|
||||
#endif
|
||||
|
||||
#ifndef OPENSSL_NO_PSK
|
||||
if (a->psk_identity_hint)
|
||||
|
||||
Reference in New Issue
Block a user