Procházet zdrojové kódy

Change DH key generation from 512 bits to 2048 bits

John C. Frickson před 10 roky
rodič
revize
3b9b5f117d
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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