Author: rjung Date: Fri May 22 15:40:14 2015 New Revision: 1681151 URL: http://svn.apache.org/r1681151 Log: Fix typo leading to smaller DH primes lengths used than expacetd, but still in the range expected to be secure.
Modified: tomcat/native/trunk/native/src/sslutils.c Modified: tomcat/native/trunk/native/src/sslutils.c URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/sslutils.c?rev=1681151&r1=1681150&r2=1681151&view=diff ============================================================================== --- tomcat/native/trunk/native/src/sslutils.c (original) +++ tomcat/native/trunk/native/src/sslutils.c Fri May 22 15:40:14 2015 @@ -270,7 +270,7 @@ static DH *get_dh(int idx) dh->p = BN_bin2bn(dh2048_p, sizeof(dh2048_p), NULL); break; case SSL_TMP_KEY_DH_4096: - dh->p = BN_bin2bn(dh4096_p, sizeof(dh2048_p), NULL); + dh->p = BN_bin2bn(dh4096_p, sizeof(dh4096_p), NULL); break; } dh->g = BN_bin2bn(dhxxx2_g, sizeof(dhxxx2_g), NULL); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org