aboutsummaryrefslogtreecommitdiff
path: root/website/static/security/patches/SA-06:23/openssl-correction.patch
blob: 7ac2f27dfbe7c10a7ff906b4a0618f50eec181bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: crypto/openssl/crypto/dh/dh_key.c
===================================================================
RCS file: /home/ncvs/src/crypto/openssl/crypto/dh/dh_key.c,v
retrieving revision 1.1.1.9.2.1
diff -u -I__FBSDID -r1.1.1.9.2.1 dh_key.c
--- crypto/openssl/crypto/dh/dh_key.c	28 Sep 2006 13:02:36 -0000	1.1.1.9.2.1
+++ crypto/openssl/crypto/dh/dh_key.c	29 Sep 2006 06:52:54 -0000
@@ -167,7 +167,7 @@
 	if (BN_num_bits(dh->p) > OPENSSL_DH_MAX_MODULUS_BITS)
 		{
 		DHerr(DH_F_DH_COMPUTE_KEY,DH_R_MODULUS_TOO_LARGE);
-		goto err;
+		return -1;
 		}
 
 	ctx = BN_CTX_new();