projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Produce PEM we would consume.
[openssl.git]
/
apps
/
ecparam.c
diff --git
a/apps/ecparam.c
b/apps/ecparam.c
index 465480bedd01bf9d0607577ce3156bfdd61ef890..50eef797ccd36003e573d97433e269cd397517d4 100644
(file)
--- a/
apps/ecparam.c
+++ b/
apps/ecparam.c
@@
-402,6
+402,9
@@
bad:
}
else
nid = OBJ_sn2nid(curve_name);
+
+ if (nid == 0)
+ nid = EC_curve_nist2nid(curve_name);
if (nid == 0)
{