From: Jeff Johnson Date: Mon, 7 Nov 2011 19:43:26 +0000 (-0800) Subject: Fix getting swf hash with https URLs X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3467069ad7c26d748ca13ce0ee88a41f85b22dd;p=rtmpdump Fix getting swf hash with https URLs --- diff --git a/librtmp/hashswf.c b/librtmp/hashswf.c index 3c56b69..5576730 100644 --- a/librtmp/hashswf.c +++ b/librtmp/hashswf.c @@ -163,7 +163,7 @@ HTTP_get(struct HTTP_ctx *http, const char *url, HTTP_read_callback *cb) #else TLS_client(RTMP_TLS_ctx, sb.sb_ssl); TLS_setfd(sb.sb_ssl, sb.sb_socket); - if ((i = TLS_connect(sb.sb_ssl)) < 0) + if (TLS_connect(sb.sb_ssl) < 0) { RTMP_Log(RTMP_LOGERROR, "%s, TLS_Connect failed", __FUNCTION__); ret = HTTPRES_LOST_CONNECTION;