From b3467069ad7c26d748ca13ce0ee88a41f85b22dd Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Mon, 7 Nov 2011 11:43:26 -0800 Subject: [PATCH] Fix getting swf hash with https URLs --- librtmp/hashswf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1