One of recent changes is "Add DTLS-SRTP negotiation from RFC 5764."

After update build fail for HEAD . The simple solution is to move function declarations from "srtp.h" to "tls1.h"
....
 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);
....
Note one declaration is duplicated.

After this those functions will appear in ssleay.num and openssl apps will link.


Note that code in ssl/d1_srtp.c, marked on first line as ssl/t1_lib.c, is inside #ifndef OPENSSL_NO_SRTP. May be OPENSSL_NO_TLSEXT is correct one as mkdef.pl lack no_srtp and other parts of new code are not in ifdef ...NO_SRTP.

Roumen

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to