summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-08-06 05:46:17 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-08-06 05:46:17 +0000
commit6120fd518585195159b5791ed4139f7c279d9c62 (patch)
treeb9013026317cce8a7ac20ab5b02a05c9762614df /security/openssl
parentFix the critical bug in capability negotiation. (diff)
Sync Bugfix from CURRENT
Notes
Notes: svn path=/head/; revision=64086
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile1
-rw-r--r--security/openssl/files/patch-asn1_lib.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 198de33855fd..4e3bdfebf782 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/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/files/patch-asn1_lib.c b/security/openssl/files/patch-asn1_lib.c
new file mode 100644
index 000000000000..ec5b10e43ee1
--- /dev/null
+++ b/security/openssl/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