From 48a20189a5f86fe77dddb9a2f954c4e107ab3a8c Mon Sep 17 00:00:00 2001 From: vg Date: Thu, 26 Nov 2015 16:15:55 +0000 Subject: - Fix bug with SSL --- net-mgmt/sx/Makefile | 1 + net-mgmt/sx/files/patch-libsxclient_src_openssl.c | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 net-mgmt/sx/files/patch-libsxclient_src_openssl.c diff --git a/net-mgmt/sx/Makefile b/net-mgmt/sx/Makefile index d99a64d1ec40..9df4de22ffd1 100644 --- a/net-mgmt/sx/Makefile +++ b/net-mgmt/sx/Makefile @@ -3,6 +3,7 @@ PORTNAME= sx PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://cdn.skylable.com/source/ diff --git a/net-mgmt/sx/files/patch-libsxclient_src_openssl.c b/net-mgmt/sx/files/patch-libsxclient_src_openssl.c new file mode 100644 index 000000000000..f272bd88350e --- /dev/null +++ b/net-mgmt/sx/files/patch-libsxclient_src_openssl.c @@ -0,0 +1,11 @@ +--- libsxclient/src/openssl.c.orig 2015-07-24 14:26:43 UTC ++++ libsxclient/src/openssl.c +@@ -98,6 +98,8 @@ int sxi_sslctxfun(sxc_client_t *sx, curl + 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; + } -- cgit