[rtmpdump] [PATCH] Add support for PolarSSL 0.99

Steven Penny svnpenn at gmail.com
Sun Sep 25 05:12:11 CEST 2011


Version 0.99-pre1 released on 2011-01-30
   * The ciphers member of ssl_context and the cipher member
     of ssl_session have been renamed to ciphersuites and
	 ciphersuite respectively. This clarifies the difference
	 with the generic cipher layer and is better naming

 librtmp/rtmp_sys.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/librtmp/rtmp_sys.h b/librtmp/rtmp_sys.h
index 638374f..7de19a3 100644
--- a/librtmp/rtmp_sys.h
+++ b/librtmp/rtmp_sys.h
@@ -71,7 +71,7 @@ typedef struct tls_ctx {
 #define TLS_CTX tls_ctx *
 #define TLS_client(ctx,s)	s = malloc(sizeof(ssl_context)); ssl_init(s);\
 	ssl_set_endpoint(s, SSL_IS_CLIENT); ssl_set_authmode(s, SSL_VERIFY_NONE);\
-	ssl_set_rng(s, havege_rand, &ctx->hs); ssl_set_ciphers(s,
+	ssl_set_rng(s, havege_rand, &ctx->hs); ssl_set_ciphersuites(s,
 	ssl_set_session(s, 1, 600, &ctx->ssn)
 #define TLS_setfd(s,fd)	ssl_set_bio(s, net_recv, &fd, net_send, &fd)
 #define TLS_connect(s)	ssl_handshake(s)

More information about the rtmpdump mailing list