Просмотр исходного кода

Configure script fix for openssl binary

Ethan Galstad 23 лет назад
Родитель
Сommit
0e51febaa5
3 измененных файлов с 8 добавлено и 8 удалено
  1. 1 1
      configure
  2. 1 1
      configure.in
  3. 6 6
      src/dh.h

+ 1 - 1
configure

@@ -1947,7 +1947,7 @@ EOF
 		
 				echo ""
 		echo "*** Generating DH Parameters for SSL/TLS ***"
-		openssl dhparam -out /dev/null -C 512 > src/dh.h
+		$ssldir/bin/openssl dhparam -out /dev/null -C 512 > src/dh.h
 	    fi
 
 		echo $ac_n "checking for Kerberos include files""... $ac_c" 1>&6

+ 1 - 1
configure.in

@@ -144,7 +144,7 @@ if test x$check_for_ssl = xyes; then
 		dnl Generate DH parameters
 		echo ""
 		echo "*** Generating DH Parameters for SSL/TLS ***"
-		openssl dhparam -out /dev/null -C 512 > src/dh.h
+		$ssldir/bin/openssl dhparam -out /dev/null -C 512 > src/dh.h
 	    fi
 
 	dnl RedHat 8.0 and 9.0 include openssl compiled with kerberos, so we must include header file

+ 6 - 6
src/dh.h

@@ -4,12 +4,12 @@
 DH *get_dh512()
 	{
 	static unsigned char dh512_p[]={
-		0xFF,0xD1,0x2B,0xDD,0x3D,0xF0,0xB3,0x18,0x61,0xFA,0x7E,0x79,
-		0x64,0x0E,0xDF,0xFA,0xAA,0xCC,0x55,0xFA,0x31,0x5E,0x43,0x0C,
-		0xE3,0xD0,0xAF,0x11,0xF4,0x17,0x12,0x37,0xFC,0x17,0xAF,0x13,
-		0x82,0x10,0xF0,0xFD,0xC3,0x75,0xCE,0x03,0x6A,0xC5,0x45,0xEE,
-		0x16,0xC6,0x73,0x8F,0x28,0xA9,0x18,0x82,0xE2,0x79,0x52,0x38,
-		0x15,0x51,0xFA,0xC3,
+		0x88,0x7D,0x5A,0x39,0x4D,0x73,0x56,0x07,0x30,0x08,0xBF,0x37,
+		0xBD,0x8A,0x52,0x55,0x36,0xA0,0x86,0x99,0xB7,0x2E,0xE0,0x10,
+		0x2D,0xF7,0x75,0xAC,0x38,0xB7,0xCC,0x07,0x8E,0x03,0x7B,0xE1,
+		0xB7,0xC2,0xA9,0x5D,0x10,0x2D,0x0A,0x85,0x2B,0x0E,0x71,0x3F,
+		0xA7,0xB7,0xC7,0xCE,0xCE,0x73,0xC3,0x7F,0x92,0x51,0x41,0xD3,
+		0xED,0xD1,0x06,0x93,
 		};
 	static unsigned char dh512_g[]={
 		0x02,