[PATCH] Add support for PolarSSL 0.99
http://polarssl.org/trac/browser/trunk/ChangeLog Version 0.99-pre1 released on 2011-01-30 Changes * 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 altogether 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_default_ciphers);\ + ssl_set_rng(s, havege_rand, &ctx->hs); ssl_set_ciphersuites(s, ssl_default_ciphersuites);\ 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)
Steven Penny wrote:
Thanks. But since 1.0.0 is out now, I've patched for that version instead.
Version 0.99-pre1 released on 2011-01-30 Changes * 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 altogether
librtmp/rtmp_sys.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
On Sun, Sep 25, 2011 at 5:08 AM, Howard Chu wrote:
Thanks. But since 1.0.0 is out now, I've patched for that version instead.
http://polarssl.org/forum_view_topic?topic_id=188 PolarSSL 1.0.0 does not compile for Windows, hence why I did 0.99
Steven Penny wrote:
On Sun, Sep 25, 2011 at 5:08 AM, Howard Chu wrote:
Thanks. But since 1.0.0 is out now, I've patched for that version instead.
http://polarssl.org/forum_view_topic?topic_id=188
PolarSSL 1.0.0 does not compile for Windows, hence why I did 0.99
That's only a piece of sample code, it has nothing to do with the PolarSSL library.
On Sun, Sep 25, 2011 at 5:08 AM, Howard Chu wrote:
Thanks. But since 1.0.0 is out now, I've patched for that version instead.
Starting with 0.99 pre5 PolarSSL will not compile on Windows. So there is a need for older versions of PolarSSL to work with RTMPdump. The current commit 6230845 now works with PolarSSL 0.99 pre1 up to PolarSSL 1.0.0 However the description says "PolarSSL support now requires version 1.0.0"
participants (2)
-
Howard Chu -
Steven Penny