aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/quic/quic_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/quic/quic_crypto.c b/src/plugins/quic/quic_crypto.c
index d8fd4a916e6..daf39e87032 100644
--- a/src/plugins/quic/quic_crypto.c
+++ b/src/plugins/quic/quic_crypto.c
@@ -208,7 +208,7 @@ quic_crypto_setup_cipher (quicly_crypto_engine_t * engine,
Exit:
if (ret != 0)
{
- if (aead_ctx && *aead_ctx != NULL)
+ if (*aead_ctx != NULL)
{
ptls_aead_free (*aead_ctx);
*aead_ctx = NULL;