diff options
Diffstat (limited to 'crypto/ec/ec_check.c')
-rw-r--r-- | crypto/ec/ec_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_check.c b/crypto/ec/ec_check.c index 09e3deb048..097d7e1cc5 100644 --- a/crypto/ec/ec_check.c +++ b/crypto/ec/ec_check.c @@ -16,7 +16,7 @@ int EC_GROUP_check_named_curve(const EC_GROUP *group, int nist_only) nid = ec_curve_nid_from_params(group); if (nid > 0 && nist_only && EC_curve_nid2nist(nid) == NULL) - nid = 0; + nid = NID_undef; return nid; } |