diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-10-15 17:32:57 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-10-15 17:32:57 +0000 |
commit | 58ab7656b2c140e06d60a7831a9f5b6e1ddc2fe5 (patch) | |
tree | 6195ffd39cd3e0b3d6c711f6531b3e7e13b85b44 /ssl/srtp.h | |
parent | cb6864802ed26a1031701a6a385961592a5cac25 (diff) |
Diffstat (limited to 'ssl/srtp.h')
-rw-r--r-- | ssl/srtp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/srtp.h b/ssl/srtp.h index c0cf33ef288c7..24f23309d7c47 100644 --- a/ssl/srtp.h +++ b/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 |