Emilia Kasper f34a57202b 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>
2014-08-27 19:49:35 +02:00
..
2014-03-12 14:29:43 +00:00
2011-02-14 16:55:28 +00:00
2011-10-26 16:43:34 +00:00
2014-08-27 19:49:34 +02:00
2012-04-22 13:06:51 +00:00
2013-07-17 21:45:01 +01:00
2011-03-10 01:00:30 +00:00
2002-06-06 10:33:05 +00:00
2014-08-19 11:09:33 -04:00
2011-10-19 08:59:53 +00:00
2011-10-19 08:59:53 +00:00
2011-10-19 08:59:53 +00:00
2014-02-19 20:09:08 +00:00