int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles)
{
+ if (IS_QUIC_METHOD(ctx->method))
+ return 1;
+
return ssl_ctx_make_profiles(profiles, &ctx->srtp_profiles);
}
SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s);
if (sc == NULL)
- return 0;
+ return 1;
return ssl_ctx_make_profiles(profiles, &sc->srtp_profiles);
}