diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-08-24 11:29:23 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-09-05 15:41:29 +1000 |
commit | ea478697927798ff2850ea94b4938bb0c76da48b (patch) | |
tree | dbea90e4f668b24fa57a396bd15e634962225dd9 /crypto/ec | |
parent | d55d0935deb1a8af9cb9a76bf4ca21da47ba8184 (diff) | |
download | openssl-ea478697927798ff2850ea94b4938bb0c76da48b.tar.gz |
Fix coverity CID #1466378 - Incorrect expression in ec_backend.c
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/12708)
Diffstat (limited to 'crypto/ec')
-rw-r--r-- | crypto/ec/ec_backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_backend.c b/crypto/ec/ec_backend.c index 1599e2b1f3..8acbcebd6f 100644 --- a/crypto/ec/ec_backend.c +++ b/crypto/ec/ec_backend.c @@ -162,7 +162,7 @@ int ec_group_todata(const EC_GROUP *group, OSSL_PARAM_BLD *tmpl, #endif } else { /* named curve */ - const char *curve_name = curve_name = ec_curve_nid2name(curve_nid); + const char *curve_name = ec_curve_nid2name(curve_nid); if (curve_name == NULL || !ossl_param_build_set_utf8_string(tmpl, params, |