X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fd1_srtp.c;h=e49aea9be1e4bf5866d47834c1b976819e1e4375;hp=587a592e82afa93d08fcea04b909849d89c46168;hb=fbdf0299dc98bc611d854c0a62c6ab1810d856fc;hpb=349807608f31b20af01a342d0072bb92e0b036e2 diff --git a/ssl/d1_srtp.c b/ssl/d1_srtp.c index 587a592e82..e49aea9be1 100644 --- a/ssl/d1_srtp.c +++ b/ssl/d1_srtp.c @@ -128,6 +128,14 @@ static SRTP_PROTECTION_PROFILE srtp_known_profiles[] = { "SRTP_AES128_CM_SHA1_32", SRTP_AES128_CM_SHA1_32, }, + { + "SRTP_AEAD_AES_128_GCM", + SRTP_AEAD_AES_128_GCM + }, + { + "SRTP_AEAD_AES_256_GCM", + SRTP_AEAD_AES_256_GCM + }, {0} }; @@ -189,6 +197,8 @@ static int ssl_ctx_make_profiles(const char *profiles_string, ptr = col + 1; } while (col); + sk_SRTP_PROTECTION_PROFILE_free(*out); + *out = profiles; return 0;