libressl: update to 2.1.5.

This commit is contained in:
Juan RP 2015-03-17 08:33:51 +01:00
parent c6191497bd
commit 419361122d
2 changed files with 3 additions and 17 deletions

View file

@ -1,14 +0,0 @@
subtraction is not comparison
http://www.tedunangst.com/flak/post/subtraction-is-not-comparison
--- apps/certhash.c 2015-02-27 16:11:46.000000000 +0100
+++ apps/certhash.c 2015-03-05 13:45:15.832647817 +0100
@@ -121,7 +121,7 @@
struct hashinfo *hib = *(struct hashinfo **)b;
int rv;
- rv = hia->hash - hib->hash;
+ rv = hia->hash < hib->hash ? -1 : hia->hash > hib->hash;
if (rv != 0)
return (rv);
rv = memcmp(hia->fingerprint, hib->fingerprint,

View file

@ -1,7 +1,7 @@
# Template file for 'libressl'
pkgname=libressl
version=2.1.4
revision=2
version=2.1.5
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="--enable-libtls"
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
license="OpenSSL-License, SSLeay-License, ISC"
homepage="http://www.libressl.org/"
distfiles="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${pkgname}-${version}.tar.gz"
checksum=e8e08535928774119a979412ee8e307444b7a1a42c8c47ac06ee09423ca9a04e
checksum=a82379913fd7f4e26e045fcf021aa92a1f683954816bf817b3b696de62e9c3bb
# Compat pkg that depends on the real pkgs.
depends="libcrypto32-${version}_${revision} libssl32-${version}_${revision} libtls3-${version}_${revision}"