]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/ec/ec_check.c
doc fixups
[thirdparty/openssl.git] / crypto / ec / ec_check.c
index 09e3deb048c3921c904dd2772c00fdc3285a4f05..097d7e1cc542b7d46f2ce8ba44b509edf01bd521 100644 (file)
@@ -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;
 }