From 0c731de94c1c5d241c065bf2c1ff8ad127348fb9 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Thu, 25 Jan 2018 23:38:05 +0000 Subject: [PATCH] Add declaration of SSL_get_selected_srtp_profile() for OpenSSL. Because there was an extra declaration in the vendor version, we locally removed the second one in r238405 with 1.0.1c. Later, upstream fixed it in 1.0.2d but they removed the first one. Therefore, both were removed in our version unfortunately. Now we revert to the vendor one to re-add it. MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D10525 --- crypto/openssl/ssl/srtp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/openssl/ssl/srtp.h b/crypto/openssl/ssl/srtp.h index 512edabc8d91..2279c32b895a 100644 --- a/crypto/openssl/ssl/srtp.h +++ b/crypto/openssl/ssl/srtp.h @@ -136,6 +136,7 @@ int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles); int SSL_set_tlsext_use_srtp(SSL *ctx, const char *profiles); STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl); +SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s); # endif