RT2724: Remove extra declaration
authorJohn Fitzgibbon <john_fitzgibbon@yahoo.com>
Mon, 18 Aug 2014 21:55:19 +0000 (17:55 -0400)
committerRich Salz <rsalz@akamai.com>
Tue, 19 Aug 2014 13:38:43 +0000 (09:38 -0400)
Extra SSL_get_selected_srtp_profile() declaration in ssl/srtp.h
causes -Werror builds to fail.

Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/srtp.h

index c0cf33ef288c7bce0814da8289e7438d1c96f58f..ae364d0ff9e9d795705944d7614c8dc775dfd7aa 100644 (file)
@@ -132,7 +132,6 @@ extern "C" {
 
 int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles);
 int SSL_set_tlsext_use_srtp(SSL *ctx, const char *profiles);
 
 int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles);
 int SSL_set_tlsext_use_srtp(SSL *ctx, const char *profiles);
-SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
 
 STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl);
 SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
 
 STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl);
 SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);