RT3061: Don't SEGFAULT when trying to export a public DSA key as a private key.
authorAdam Langley <agl@chromium.org>
Thu, 21 Feb 2013 22:11:55 +0000 (17:11 -0500)
committerJanusz Kozerski <j.kozerski@samsung.com>
Mon, 20 Oct 2014 13:25:34 +0000 (15:25 +0200)
commit0500d0348e32fa73fd8db50c0be73fa2ac21e605
treedfe22e2c3b1e2aef4b1f53746375c844503658e5
parent41c0bf719c8959c24165ecdfa04ba4db1d4f1ccf
RT3061: Don't SEGFAULT when trying to export a public DSA key as a private key.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit e19c93811f0db499c98d2888f1c0c0ab65e6238a)
crypto/dsa/dsa_ameth.c