[openssl-commits] [openssl] master update
Andy Polyakov
appro at openssl.org
Wed Jul 25 13:45:43 UTC 2018
The branch master has been updated
via 7b953da40d0dee56f360902f872dc8989f6a3e1f (commit)
from d6b50b6e2ebc0c198877b5c56ae0a54cb9036088 (commit)
- Log -----------------------------------------------------------------
commit 7b953da40d0dee56f360902f872dc8989f6a3e1f
Author: Andy Polyakov <appro at openssl.org>
Date: Tue Jul 24 15:48:15 2018 +0200
ec/ecp_nistz256.c: fix Coverity nit.
|ctx| recently became unconditionally non-NULL and is already dereferenced
earlier.
Reviewed-by: Rich Salz <rsalz at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
crypto/ec/ecp_nistz256.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/crypto/ec/ecp_nistz256.c b/crypto/ec/ecp_nistz256.c
index 54c9ed2..b0564bd 100644
--- a/crypto/ec/ecp_nistz256.c
+++ b/crypto/ec/ecp_nistz256.c
@@ -1339,8 +1339,7 @@ __owur static int ecp_nistz256_points_mul(const EC_GROUP *group,
ret = 1;
err:
- if (ctx)
- BN_CTX_end(ctx);
+ BN_CTX_end(ctx);
OPENSSL_free(new_points);
OPENSSL_free(new_scalars);
return ret;
More information about the openssl-commits
mailing list