diff options
Diffstat (limited to 'src/lib/libssl/d1_srtp.c')
-rw-r--r-- | src/lib/libssl/d1_srtp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/d1_srtp.c b/src/lib/libssl/d1_srtp.c index 6073f0d2d4..67c4495a17 100644 --- a/src/lib/libssl/d1_srtp.c +++ b/src/lib/libssl/d1_srtp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_srtp.c,v 1.32 2022/11/26 16:08:55 tb Exp $ */ | 1 | /* $OpenBSD: d1_srtp.c,v 1.33 2023/07/08 16:40:13 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -229,12 +229,14 @@ SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles) | |||
229 | { | 229 | { |
230 | return ssl_ctx_make_profiles(profiles, &ctx->srtp_profiles); | 230 | return ssl_ctx_make_profiles(profiles, &ctx->srtp_profiles); |
231 | } | 231 | } |
232 | LSSL_ALIAS(SSL_CTX_set_tlsext_use_srtp); | ||
232 | 233 | ||
233 | int | 234 | int |
234 | SSL_set_tlsext_use_srtp(SSL *s, const char *profiles) | 235 | SSL_set_tlsext_use_srtp(SSL *s, const char *profiles) |
235 | { | 236 | { |
236 | return ssl_ctx_make_profiles(profiles, &s->srtp_profiles); | 237 | return ssl_ctx_make_profiles(profiles, &s->srtp_profiles); |
237 | } | 238 | } |
239 | LSSL_ALIAS(SSL_set_tlsext_use_srtp); | ||
238 | 240 | ||
239 | 241 | ||
240 | STACK_OF(SRTP_PROTECTION_PROFILE) * | 242 | STACK_OF(SRTP_PROTECTION_PROFILE) * |
@@ -251,6 +253,7 @@ SSL_get_srtp_profiles(SSL *s) | |||
251 | 253 | ||
252 | return NULL; | 254 | return NULL; |
253 | } | 255 | } |
256 | LSSL_ALIAS(SSL_get_srtp_profiles); | ||
254 | 257 | ||
255 | SRTP_PROTECTION_PROFILE * | 258 | SRTP_PROTECTION_PROFILE * |
256 | SSL_get_selected_srtp_profile(SSL *s) | 259 | SSL_get_selected_srtp_profile(SSL *s) |
@@ -258,5 +261,6 @@ SSL_get_selected_srtp_profile(SSL *s) | |||
258 | /* XXX cast away the const */ | 261 | /* XXX cast away the const */ |
259 | return (SRTP_PROTECTION_PROFILE *)s->srtp_profile; | 262 | return (SRTP_PROTECTION_PROFILE *)s->srtp_profile; |
260 | } | 263 | } |
264 | LSSL_ALIAS(SSL_get_selected_srtp_profile); | ||
261 | 265 | ||
262 | #endif | 266 | #endif |