فهرست منبع

Fix compile error for DH key

John C. Frickson 10 سال پیش
والد
کامیت
505b9e3f55
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/nrpe.c

+ 2 - 2
src/nrpe.c

@@ -334,8 +334,8 @@ void init_ssl(void)
 		/* use anonymous DH ciphers */
 		/* use anonymous DH ciphers */
 		if (sslprm.allowDH == 2)
 		if (sslprm.allowDH == 2)
 			strcpy(sslprm.cipher_list, "ADH");
 			strcpy(sslprm.cipher_list, "ADH");
-		/*dh = get_dh2048();*/
-		dh = get_dh1024();
+		dh = get_dh2048();
+		/*dh = get_dh1024();*/
 		SSL_CTX_set_tmp_dh(ctx, dh);
 		SSL_CTX_set_tmp_dh(ctx, dh);
 		DH_free(dh);
 		DH_free(dh);
 	}
 	}