summaryrefslogtreecommitdiff
path: root/network/skylable-sx/patch
diff options
context:
space:
mode:
authorsimotrone <simotrone@gmail.com>2015-11-05 00:39:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-05 00:45:21 +0700
commit4d0bc5f7520418d9640c0a20d5b7502dcf08542d (patch)
treeb63313a17708d41842f6da29077714c1252dd0d7 /network/skylable-sx/patch
parent0f903832610bd30daa0ea8cbba928bf71c06c338 (diff)
downloadslackbuilds-4d0bc5f7520418d9640c0a20d5b7502dcf08542d.tar.gz
network/skylable-sx: Updated for version 1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/skylable-sx/patch')
-rw-r--r--network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch b/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch
new file mode 100644
index 0000000000..00d9f683c3
--- /dev/null
+++ b/network/skylable-sx/patch/skylable-sx-1.2-fix-curl-7.45.patch
@@ -0,0 +1,13 @@
+diff --git a/libsxclient/src/openssl.c b/libsxclient/src/openssl.c
+index 62bfc01..666430a 100644
+--- a/libsxclient/src/openssl.c
++++ b/libsxclient/src/openssl.c
+@@ -98,6 +98,8 @@ int sxi_sslctxfun(sxc_client_t *sx, curlev_t *ev, const struct curl_tlssessionin
+ return -1;
+ }
+ SSL_CTX *ctx = (SSL_CTX*)info->internals;
++ if (!ctx)
++ return -EAGAIN;
+ SSL_CTX_set_cert_verify_callback(ctx, ssl_verify_hostname, ev);
+ return 0;
+ }