Fix ASN.1 private encode of EC_KEY to not change the input key
authorRichard Levitte <levitte@openssl.org>
Fri, 15 Jul 2016 11:31:26 +0000 (13:31 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 15 Jul 2016 13:17:31 +0000 (15:17 +0200)
commit427b22646d4642809f67352513590549650b916f
tree9df8f35f27d9eb34c2c71d9b0de26342b1b7518b
parente88a5cfc2c96221c690bf749d13697b7a0f5b898
Fix ASN.1 private encode of EC_KEY to not change the input key

RT#4611

Reviewed-by: Stephen Henson <steve@openssl.org>
(cherry picked from commit b8a7bd83e68405fdf595077973035ac6fe24cb97)
crypto/ec/ec_ameth.c