ucspi-ssl: update to 0.97.

This commit is contained in:
Michael Gehring 2016-08-13 09:54:08 +02:00
parent 24bf17b5e0
commit 3df30c9e98
2 changed files with 5 additions and 22 deletions

View file

@ -1,17 +0,0 @@
diff -ur host-orig/superscript.com/net/ucspi-ssl-0.96/src/ssl_params.c host/superscript.com/net/ucspi-ssl-0.96/src/ssl_params.c
--- host-orig/superscript.com/net/ucspi-ssl-0.96/src/ssl_params.c 2012-06-07 09:50:27.000000000 -0500
+++ host/superscript.com/net/ucspi-ssl-0.96/src/ssl_params.c 2015-11-10 12:17:02.000000000 -0600
@@ -16,11 +16,13 @@
if (!SSL_CTX_set_tmp_dh(ctx,dh)) return 0;
}
+#ifndef LIBRESSL_VERSION_NUMBER
if (len) {
rsa = RSA_generate_key(len,RSA_F4,0,0);
if (!rsa) return 0;
if (!SSL_CTX_set_tmp_rsa(ctx,rsa)) return 0;
}
+#endif
return 1;
}

View file

@ -1,7 +1,7 @@
# Template file for 'ucspi-ssl'
pkgname=ucspi-ssl
version=0.96
revision=3
version=0.97
revision=1
short_desc="Command-line tools for building SSL client-server applications"
maintainer="Evan Deaubl <evan@deaubl.name>"
license="Public Domain"
@ -11,7 +11,7 @@ makedepends="libressl-devel"
depends="ucspi-tcp"
homepage="http://www.fehcom.de/ipnet/ucspi-ssl.html"
distfiles="http://www.fehcom.de/ipnet/ucspi-ssl/${pkgname}-${version}.tgz"
checksum=a99bfc5262e8cf7ee086e85853ae8566a97f96c94424f7bc58ad7108db20a856
checksum=cb90cd56fdb1ab51dafa2b228dd6595b61da21816fefcae646f02f41864cbe5b
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
build_wrksrc="host/superscript.com/net/${pkgname}-${version}/src"
@ -21,8 +21,8 @@ nocross=yes
pre_build() {
pwd >home
echo "${CC} ${CFLAGS}" >conf-cc
echo "${CC} ${LDFLAGS}" >conf-ld
echo "${CC} ${CFLAGS}" >../conf-cc
echo "${CC} ${LDFLAGS}" >../conf-ld
}
do_install() {