diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-08-06 05:46:17 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-08-06 05:46:17 +0000 |
commit | b5d1eb17926706bbc195bc8602f5e8c001534303 (patch) | |
tree | e0eb76ccf001f2788f48616165234a0f22f8a571 /security/openssl-beta | |
parent | 0a9e14deaf82129473ae80c1a7771b35840c2cdf (diff) | |
download | FreeBSD-ports-b5d1eb17926706bbc195bc8602f5e8c001534303.zip FreeBSD-ports-b5d1eb17926706bbc195bc8602f5e8c001534303.tar.gz |
Sync Bugfix from CURRENT
Diffstat (limited to 'security/openssl-beta')
-rw-r--r-- | security/openssl-beta/Makefile | 1 | ||||
-rw-r--r-- | security/openssl-beta/files/patch-asn1_lib.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile index 198de33..4e3bdfe 100644 --- a/security/openssl-beta/Makefile +++ b/security/openssl-beta/Makefile @@ -7,6 +7,7 @@ PORTNAME= openssl PORTVERSION= 0.9.6e +PORTREVISION= 1 CATEGORIES= security devel MASTER_SITES= http://www.openssl.org/source/ \ ftp://ftp.openssl.org/source/ \ diff --git a/security/openssl-beta/files/patch-asn1_lib.c b/security/openssl-beta/files/patch-asn1_lib.c new file mode 100644 index 0000000..ec5b10e --- /dev/null +++ b/security/openssl-beta/files/patch-asn1_lib.c @@ -0,0 +1,11 @@ +--- crypto/asn1/asn1_lib.c.orig Tue Jul 30 12:18:29 2002 ++++ crypto/asn1/asn1_lib.c Mon Aug 5 18:25:17 2002 +@@ -124,7 +124,7 @@ + (int)(omax+ *pp)); + + #endif +- if (*plength > (omax - (*pp - p))) ++ if (*plength > (omax - (p - *pp))) + { + ASN1err(ASN1_F_ASN1_GET_OBJECT,ASN1_R_TOO_LONG); + /* Set this so that even if things are not long enough |