117 #ifndef HEADER_D1_SRTP_H
118 # define HEADER_D1_SRTP_H
120 # include <openssl/ssl.h>
126 # define SRTP_AES128_CM_SHA1_80 0x0001
127 # define SRTP_AES128_CM_SHA1_32 0x0002
128 # define SRTP_AES128_F8_SHA1_80 0x0003
129 # define SRTP_AES128_F8_SHA1_32 0x0004
130 # define SRTP_NULL_SHA1_80 0x0005
131 # define SRTP_NULL_SHA1_32 0x0006
133 # ifndef OPENSSL_NO_SRTP
135 int SSL_CTX_set_tlsext_use_srtp(
SSL_CTX *ctx,
const char *profiles);
136 int SSL_set_tlsext_use_srtp(
SSL *ctx,
const char *profiles);