summaryrefslogtreecommitdiff
path: root/main/openssl/ssl/srtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssl/ssl/srtp.h')
-rw-r--r--main/openssl/ssl/srtp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/openssl/ssl/srtp.h b/main/openssl/ssl/srtp.h
index c0cf33ef..24f23309 100644
--- a/main/openssl/ssl/srtp.h
+++ b/main/openssl/ssl/srtp.h
@@ -130,6 +130,8 @@ extern "C" {
#define SRTP_NULL_SHA1_80 0x0005
#define SRTP_NULL_SHA1_32 0x0006
+#ifndef OPENSSL_NO_SRTP
+
int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles);
int SSL_set_tlsext_use_srtp(SSL *ctx, const char *profiles);
SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
@@ -137,6 +139,8 @@ SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl);
SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
+#endif
+
#ifdef __cplusplus
}
#endif