Commit 7b953da4 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

ec/ecp_nistz256.c: fix Coverity nit.

|ctx| recently became unconditionally non-NULL and is already dereferenced
earlier.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent d6b50b6e
Loading
Loading
Loading
Loading
+0 −1
Changes for crypto/ec/ecp_nistz256.c: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -1339,7 +1339,6 @@ __owur static int ecp_nistz256_points_mul(const EC_GROUP *group,
    ret = 1;

err:
    if (ctx)
    BN_CTX_end(ctx);
    OPENSSL_free(new_points);
    OPENSSL_free(new_scalars);