summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_srtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/d1_srtp.c')
-rw-r--r--src/lib/libssl/d1_srtp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/d1_srtp.c b/src/lib/libssl/d1_srtp.c
index 45ce5b8d3e..7b80d73d14 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.15 2015/07/31 00:35:06 doug Exp $ */ 1/* $OpenBSD: d1_srtp.c,v 1.16 2017/01/23 05:13:02 jsing 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 *
@@ -217,7 +217,7 @@ ssl_ctx_make_profiles(const char *profiles_string,
217int 217int
218SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles) 218SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles)
219{ 219{
220 return ssl_ctx_make_profiles(profiles, &ctx->srtp_profiles); 220 return ssl_ctx_make_profiles(profiles, &ctx->internal->srtp_profiles);
221} 221}
222 222
223int 223int
@@ -234,8 +234,8 @@ SSL_get_srtp_profiles(SSL *s)
234 if (s->srtp_profiles != NULL) { 234 if (s->srtp_profiles != NULL) {
235 return s->srtp_profiles; 235 return s->srtp_profiles;
236 } else if ((s->ctx != NULL) && 236 } else if ((s->ctx != NULL) &&
237 (s->ctx->srtp_profiles != NULL)) { 237 (s->ctx->internal->srtp_profiles != NULL)) {
238 return s->ctx->srtp_profiles; 238 return s->ctx->internal->srtp_profiles;
239 } 239 }
240 } 240 }
241 241