aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/quic
diff options
context:
space:
mode:
authorAloys Augustin <aloaugus@cisco.com>2020-09-10 15:28:18 +0000
committerDamjan Marion <dmarion@me.com>2020-09-11 06:41:17 +0000
commit31309fa67690d4360b0d8000daecf571ad5c0c7e (patch)
tree5524a56add1f54c26e2f75ea2373a084d9d9e379 /src/plugins/quic
parent68849350c56b0258d21fc906b09df71a1951f694 (diff)
quic: fix coverity warning
Type: fix Signed-off-by: Aloys Augustin <aloaugus@cisco.com> Change-Id: Ic51ba3450b3d0722ebff4280127f526b5a9934b1
Diffstat (limited to 'src/plugins/quic')
-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;