summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_srtp.c
diff options
context:
space:
mode:
authorguenther <>2014-04-19 08:52:32 +0000
committerguenther <>2014-04-19 08:52:32 +0000
commit9e60d35ac1ade619b0d44538f7f50f62c1514194 (patch)
tree1c8e1f947cd7380525a7312a9e96fad2690b90fa /src/lib/libssl/d1_srtp.c
parent8ffabaf4eba42faf2565cf746f06a82adf194000 (diff)
downloadopenbsd-9e60d35ac1ade619b0d44538f7f50f62c1514194.tar.gz
openbsd-9e60d35ac1ade619b0d44538f7f50f62c1514194.tar.bz2
openbsd-9e60d35ac1ade619b0d44538f7f50f62c1514194.zip
More KNF and style consistency tweaks
Diffstat (limited to 'src/lib/libssl/d1_srtp.c')
-rw-r--r--src/lib/libssl/d1_srtp.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libssl/d1_srtp.c b/src/lib/libssl/d1_srtp.c
index fadd9f381f..146ce321c8 100644
--- a/src/lib/libssl/d1_srtp.c
+++ b/src/lib/libssl/d1_srtp.c
@@ -109,11 +109,11 @@
109 * 109 *
110 */ 110 */
111/* 111/*
112 DTLS code by Eric Rescorla <ekr@rtfm.com> 112 * DTLS code by Eric Rescorla <ekr@rtfm.com>
113 113 *
114 Copyright (C) 2006, Network Resonance, Inc. 114 * Copyright (C) 2006, Network Resonance, Inc.
115 Copyright (C) 2011, RTFM, Inc. 115 * Copyright (C) 2011, RTFM, Inc.
116*/ 116 */
117 117
118#include <stdio.h> 118#include <stdio.h>
119#include <openssl/objects.h> 119#include <openssl/objects.h>
@@ -232,8 +232,8 @@ SSL_set_tlsext_use_srtp(SSL *s, const char *profiles)
232} 232}
233 233
234 234
235STACK_OF(SRTP_PROTECTION_PROFILE) 235STACK_OF(SRTP_PROTECTION_PROFILE) *
236*SSL_get_srtp_profiles(SSL *s) 236SSL_get_srtp_profiles(SSL *s)
237{ 237{
238 if (s != NULL) { 238 if (s != NULL) {
239 if (s->srtp_profiles != NULL) { 239 if (s->srtp_profiles != NULL) {
@@ -247,8 +247,8 @@ STACK_OF(SRTP_PROTECTION_PROFILE)
247 return NULL; 247 return NULL;
248} 248}
249 249
250SRTP_PROTECTION_PROFILE 250SRTP_PROTECTION_PROFILE *
251*SSL_get_selected_srtp_profile(SSL *s) 251SSL_get_selected_srtp_profile(SSL *s)
252{ 252{
253 return s->srtp_profile; 253 return s->srtp_profile;
254} 254}