projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix incorrect return value in apps/apps.c:parse_yesno()
[oweals/openssl.git]
/
apps
/
ec.c
diff --git
a/apps/ec.c
b/apps/ec.c
index a763daa65369c3c42c4558318dd894fa810c6513..771e15f3577c176031a24f5f5c6581802071082e 100644
(file)
--- a/
apps/ec.c
+++ b/
apps/ec.c
@@
-56,6
+56,7
@@
*
*/
*
*/
+#include <openssl/opensslconf.h>
#ifndef OPENSSL_NO_EC
#include <stdio.h>
#include <stdlib.h>
#ifndef OPENSSL_NO_EC
#include <stdio.h>
#include <stdlib.h>
@@
-243,7
+244,7
@@
bad:
" the ec parameters are encoded\n");
BIO_printf(bio_err, " in the asn1 der "
"encoding\n");
" the ec parameters are encoded\n");
BIO_printf(bio_err, " in the asn1 der "
"encoding\n");
- BIO_printf(bio_err, " possi
lb
e values:"
+ BIO_printf(bio_err, " possi
bl
e values:"
" named_curve (default)\n");
BIO_printf(bio_err," "
"explicit\n");
" named_curve (default)\n");
BIO_printf(bio_err," "
"explicit\n");
@@
-346,7
+347,10
@@
bad:
}
if (noout)
}
if (noout)
+ {
+ ret = 0;
goto end;
goto end;
+ }
BIO_printf(bio_err, "writing EC key\n");
if (outformat == FORMAT_ASN1)
BIO_printf(bio_err, "writing EC key\n");
if (outformat == FORMAT_ASN1)