diff options
author | sommerfeld <sommerfeld@pkgsrc.org> | 1999-11-13 17:32:20 +0000 |
---|---|---|
committer | sommerfeld <sommerfeld@pkgsrc.org> | 1999-11-13 17:32:20 +0000 |
commit | a1a7006d9477d06affb9b2936e64c17beb51cf11 (patch) | |
tree | 10de52a99f3e8b482c8ee65c605173518f08d7ae /security | |
parent | c88efe6849eccdcac4259dab63f0d08bff6276eb (diff) | |
download | pkgsrc-a1a7006d9477d06affb9b2936e64c17beb51cf11.tar.gz |
Revise previous fix (overly restrictive range check)
Diffstat (limited to 'security')
-rw-r--r-- | security/ssh/files/patch-sum | 4 | ||||
-rw-r--r-- | security/ssh/files/patch-sum-v6 | 4 | ||||
-rw-r--r-- | security/ssh/patches/patch-aa | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/security/ssh/files/patch-sum b/security/ssh/files/patch-sum index 9c9ebe60276..6d0aaa90b2d 100644 --- a/security/ssh/files/patch-sum +++ b/security/ssh/files/patch-sum @@ -1,6 +1,6 @@ -$NetBSD: patch-sum,v 1.8 1999/11/12 14:10:52 sommerfeld Exp $ +$NetBSD: patch-sum,v 1.9 1999/11/13 17:32:20 sommerfeld Exp $ -MD5 (patch-aa) = 40b3db42f26cb0111ae0aa8522a0217c +MD5 (patch-aa) = 39a4c82d2b89aae61df69a50f7aaa813 MD5 (patch-ab) = 9807586f0bcbc7e92045d40be272d585 MD5 (patch-ac) = 6ca9c5c5300c27a541928a2c2bc44388 MD5 (patch-ad) = 60483c735ff0e3c47e640002be0cee75 diff --git a/security/ssh/files/patch-sum-v6 b/security/ssh/files/patch-sum-v6 index d3139e64ad6..029a5b42df5 100644 --- a/security/ssh/files/patch-sum-v6 +++ b/security/ssh/files/patch-sum-v6 @@ -1,6 +1,6 @@ -$NetBSD: patch-sum-v6,v 1.4 1999/11/12 14:10:52 sommerfeld Exp $ +$NetBSD: patch-sum-v6,v 1.5 1999/11/13 17:32:20 sommerfeld Exp $ -MD5 (patch-aa) = 40b3db42f26cb0111ae0aa8522a0217c +MD5 (patch-aa) = 39a4c82d2b89aae61df69a50f7aaa813 MD5 (patch-ab) = 9807586f0bcbc7e92045d40be272d585 MD5 (patch-ac) = 6ca9c5c5300c27a541928a2c2bc44388 MD5 (patch-ad) = 60483c735ff0e3c47e640002be0cee75 diff --git a/security/ssh/patches/patch-aa b/security/ssh/patches/patch-aa index 7e7a1acf813..92268ba7ef4 100644 --- a/security/ssh/patches/patch-aa +++ b/security/ssh/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.5 1999/11/12 14:10:53 sommerfeld Exp $ +$NetBSD: patch-aa,v 1.6 1999/11/13 17:32:21 sommerfeld Exp $ --- rsaglue.c.orig Wed May 12 07:19:28 1999 +++ rsaglue.c Fri Nov 12 08:40:02 1999 @@ -16,7 +16,7 @@ $NetBSD: patch-aa,v 1.5 1999/11/12 14:10:53 sommerfeld Exp $ input_bits = mpz_sizeinbase(input, 2); input_len = (input_bits + 7) / 8; -+ if (input_len >= MAX_RSA_MODULUS_LEN) ++ if (input_len > MAX_RSA_MODULUS_LEN) + fatal("Input data has too many bits for RSAREF to handle (max %d).", + MAX_RSA_MODULUS_BITS); + @@ -27,7 +27,7 @@ $NetBSD: patch-aa,v 1.5 1999/11/12 14:10:53 sommerfeld Exp $ input_bits = mpz_sizeinbase(input, 2); input_len = (input_bits + 7) / 8; -+ if (input_len >= MAX_RSA_MODULUS_LEN) ++ if (input_len > MAX_RSA_MODULUS_LEN) + fatal("Input data has too many bits for RSAREF to handle (max %d).", + MAX_RSA_MODULUS_BITS); + |