diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-01-22 21:17:12 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-01-22 21:17:12 +0100 |
commit | ba64ae6cd13182f4f1d99beed8274e17bf8a92b7 (patch) | |
tree | 2b40d7d1c7f273aefce953b53262107074af68ff /apps/pkcs8.c | |
parent | If legacy renegotiation is not permitted then send a fatal alert if a patched (diff) | |
download | openssl-ba64ae6cd13182f4f1d99beed8274e17bf8a92b7.tar.xz openssl-ba64ae6cd13182f4f1d99beed8274e17bf8a92b7.zip |
Tolerate PKCS#8 DSA format with negative private key.
Diffstat (limited to 'apps/pkcs8.c')
-rw-r--r-- | apps/pkcs8.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/pkcs8.c b/apps/pkcs8.c index c93ce7734d..7edeb179dd 100644 --- a/apps/pkcs8.c +++ b/apps/pkcs8.c @@ -403,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; |