Compare commits
2 Commits
14f58f4b5e
...
d6af88c0f6
Author | SHA1 | Date |
---|---|---|
qosmio | d6af88c0f6 | |
Sean Khan | 9ec1a42420 |
|
@ -0,0 +1,12 @@
|
|||
--- a/src/event/quic/ngx_event_quic_protection.c
|
||||
+++ b/src/event/quic/ngx_event_quic_protection.c
|
||||
@@ -510,7 +510,7 @@ ngx_quic_crypto_common(ngx_quic_secret_t
|
||||
}
|
||||
}
|
||||
|
||||
- if (EVP_CIPHER_mode(EVP_CIPHER_CTX_cipher(ctx)) == EVP_CIPH_CCM_MODE
|
||||
+ if (EVP_CIPHER_mode(EVP_CIPHER_CTX_get0_cipher(ctx)) == EVP_CIPH_CCM_MODE
|
||||
&& EVP_CipherUpdate(ctx, NULL, &len, NULL, in->len) != 1)
|
||||
{
|
||||
ngx_ssl_error(NGX_LOG_INFO, log, 0, "EVP_CipherUpdate() failed");
|
||||
|
Loading…
Reference in New Issue