nginx: QUIC: Fix SSL 3.0 deprecated function 24005/head
authorSean Khan <datapronix@protonmail.com>
Wed, 24 Apr 2024 22:02:02 +0000 (18:02 -0400)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 6 May 2024 21:31:34 +0000 (23:31 +0200)
commit97082f12a6de70625e21bc22fe2d0c1f65797f52
tree143806fdde66071afc36253ab2d471798ebd7899
parent5929af4eb4e8bf9981737a992c3a76318d48e5ce
nginx: QUIC: Fix SSL 3.0 deprecated function

`EVP_CIPHER_CTX_cipher()` function was deprecated in OpenSSL 3.0.
As per OpenSSL's recommendation (https://www.openssl.org/docs/manmaster/man3/EVP_CIPHER_CTX_get0_cipher.html)
switch to using `EVP_CIPHER_CTX_get0_cipher()` instead.

With this change and recent commit to nginx-util #23935. We should now
be able to build nginx + modules with fully compliant calls to OpenSSL
3.0+ with legacy features disabled.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
Link: https://github.com/openwrt/packages/pull/24005
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
net/nginx/Makefile
net/nginx/patches/nginx/300-fix-deprecated-openssl-3_0.patch [new file with mode: 0644]