Emilia Kasper 3e5df37861 Explicitly check for empty ASN.1 strings in d2i_ECPrivateKey
The old code implicitly relies on the ASN.1 code returning a \0-prefixed buffer
when the buffer length is 0. Change this to verify explicitly that the ASN.1 string
has positive length.

Reviewed-by: Dr Stephen Henson <steve@openssl.org>
(cherry picked from commit 82dc08de54ce443c2a9ac478faffe79e76157795)
2014-08-27 19:50:36 +02:00
..
2014-03-12 14:19:54 +00:00
2014-08-27 19:50:36 +02:00
2011-10-19 08:58:35 +00:00
2012-10-05 20:51:12 +00:00
2010-08-26 12:10:57 +00:00
2012-06-08 09:18:47 +00:00
2002-06-06 10:33:05 +00:00
2011-06-06 11:49:36 +00:00
2011-10-19 08:58:35 +00:00
2014-01-06 13:33:27 +00:00