Explorar el Código

Fix compile error for DH key

John C. Frickson hace 10 años
padre
commit
505b9e3f55
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/nrpe.c

+ 2 - 2
src/nrpe.c

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