X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=apps%2Fpkcs8.c;h=7edeb179dd1afd52bf8d7d35bfaa5432094756a2;hb=df316fd43c5b1e063b84279f245087a578b67e9b;hp=43ff86d4f7221e50101669b01c7b9b4584f836d6;hpb=30b1b28aff8911c6a39890e78f8358079a415353;p=openssl.git diff --git a/apps/pkcs8.c b/apps/pkcs8.c index 43ff86d4f7..7edeb179dd 100644 --- a/apps/pkcs8.c +++ b/apps/pkcs8.c @@ -275,7 +275,6 @@ int MAIN(int argc, char **argv) } if (topk8) { - BIO_free(in); /* Not needed in this section */ 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; + 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;