svn commit: r402455 - in head/net-mgmt/sx: . files

Veniamin Gvozdikov vg at FreeBSD.org
Thu Nov 26 16:15:56 UTC 2015


Author: vg
Date: Thu Nov 26 16:15:55 2015
New Revision: 402455
URL: https://svnweb.freebsd.org/changeset/ports/402455

Log:
  - Fix bug with SSL

Added:
  head/net-mgmt/sx/files/patch-libsxclient_src_openssl.c   (contents, props changed)
Modified:
  head/net-mgmt/sx/Makefile

Modified: head/net-mgmt/sx/Makefile
==============================================================================
--- head/net-mgmt/sx/Makefile	Thu Nov 26 15:24:08 2015	(r402454)
+++ head/net-mgmt/sx/Makefile	Thu Nov 26 16:15:55 2015	(r402455)
@@ -3,6 +3,7 @@
 
 PORTNAME=	sx
 PORTVERSION=	1.2
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://cdn.skylable.com/source/
 

Added: head/net-mgmt/sx/files/patch-libsxclient_src_openssl.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/sx/files/patch-libsxclient_src_openssl.c	Thu Nov 26 16:15:55 2015	(r402455)
@@ -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;
+ }


More information about the svn-ports-all mailing list