mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
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)
This commit is contained in:
parent
d55d0935de
commit
ea47869792
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user