[sr-dev] [kamailio/kamailio] tls: update DH initialization for OpenSSL 1.1.x (PR #2945)

space88man notifications at github.com
Tue Nov 23 14:35:09 CET 2021


@space88man commented on this pull request.



> @@ -146,19 +156,17 @@ static void setup_dh(SSL_CTX *ctx)
 		return;
 	}
 
-#if (OPENSSL_VERSION_NUMBER >= 0x1010000fL) && !defined(LIBRESSL_VERSION_NUMBER)
-	/* libssl >= v1.1.0 */
-	DH_set0_pqg(dh, p, NULL, g);

Yes ok to remove: OpenSSL 1.1.0 also has the macro SSL_CTX_set_dh_auto.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2945#discussion_r755127397
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211123/4bb8faf4/attachment.htm>


More information about the sr-dev mailing list