projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new test option set the version in generated certificates: this
[openssl.git]
/
apps
/
pkcs8.c
diff --git
a/apps/pkcs8.c
b/apps/pkcs8.c
index 43ff86d4f7221e50101669b01c7b9b4584f836d6..7edeb179dd1afd52bf8d7d35bfaa5432094756a2 100644
(file)
--- a/
apps/pkcs8.c
+++ b/
apps/pkcs8.c
@@
-275,7
+275,6
@@
int MAIN(int argc, char **argv)
}
if (topk8)
{
}
if (topk8)
{
- BIO_free(in); /* Not needed in this section */
pkey = load_key(bio_err, infile, informat, 1,
passin, e, "key");
if (!pkey)
pkey = load_key(bio_err, infile, informat, 1,
passin, e, "key");
if (!pkey)
@@
-404,6
+403,10
@@
int MAIN(int argc, char **argv)
BIO_printf(bio_err, "DSA public key include in PrivateKey\n");
break;
BIO_printf(bio_err, "DSA public key include in PrivateKey\n");
break;
+ case PKCS8_NEG_PRIVKEY:
+ BIO_printf(bio_err, "DSA private key value is negative\n");
+ break;
+
default:
BIO_printf(bio_err, "Unknown broken type\n");
break;
default:
BIO_printf(bio_err, "Unknown broken type\n");
break;