summaryrefslogtreecommitdiffstats
path: root/src/ssl/d1_srtp.c
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2015-11-05 20:20:47 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-11-05 20:20:47 +0000
commit9659931bf7d197c3ab757604b3ca730aeac2129f (patch)
tree24150183cfed2ad79eb2258cf525b4fc4544bd2d /src/ssl/d1_srtp.c
parent307714c70648c5d1caa23193f59a78f2ff72d2ea (diff)
parent03bcf618b7ed811b305845461fbb5497dfe55ac3 (diff)
downloadexternal_boringssl-9659931bf7d197c3ab757604b3ca730aeac2129f.zip
external_boringssl-9659931bf7d197c3ab757604b3ca730aeac2129f.tar.gz
external_boringssl-9659931bf7d197c3ab757604b3ca730aeac2129f.tar.bz2
Merge "Revert "external/boringssl: sync with upstream.""
Diffstat (limited to 'src/ssl/d1_srtp.c')
-rw-r--r--src/ssl/d1_srtp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ssl/d1_srtp.c b/src/ssl/d1_srtp.c
index 628bb29..2fcc1ea 100644
--- a/src/ssl/d1_srtp.c
+++ b/src/ssl/d1_srtp.c
@@ -171,8 +171,7 @@ static int ssl_ctx_make_profiles(const char *profiles_string,
const SRTP_PROTECTION_PROFILE *p;
col = strchr(ptr, ':');
- if (find_profile_by_name(ptr, &p,
- col ? (size_t)(col - ptr) : strlen(ptr))) {
+ if (find_profile_by_name(ptr, &p, col ? col - ptr : strlen(ptr))) {
sk_SRTP_PROTECTION_PROFILE_push(profiles, p);
} else {
OPENSSL_PUT_ERROR(SSL, SSL_R_SRTP_UNKNOWN_PROTECTION_PROFILE);