diff options
Diffstat (limited to 'src/ssl/d1_srtp.c')
-rw-r--r-- | src/ssl/d1_srtp.c | 3 |
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); |