Ver código fonte

Change DH key generation from 512 bits to 2048 bits

John C. Frickson 10 anos atrás
pai
commit
3b9b5f117d
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      configure
  2. 1 1
      configure.ac

+ 1 - 1
configure

@@ -4945,7 +4945,7 @@ _ACEOF
 				sslbin=$ssldir/bin/openssl
 			fi
 			# awk to strip off meta data at bottom of dhparam output
-			$sslbin dhparam -C 512 | awk '/^-----/ {exit} {print}' > include/dh.h
+			$sslbin dhparam -C 2048 | awk '/^-----/ {exit} {print}' > include/dh.h
 		fi
 	fi
 

+ 1 - 1
configure.ac

@@ -345,7 +345,7 @@ if test x$check_for_ssl = xyes; then
 				sslbin=$ssldir/bin/openssl
 			fi
 			# awk to strip off meta data at bottom of dhparam output
-			$sslbin dhparam -C 512 | awk '/^-----/ {exit} {print}' > include/dh.h
+			$sslbin dhparam -C 2048 | awk '/^-----/ {exit} {print}' > include/dh.h
 		fi
 	fi