Adam Langley e87a4a7011 RT3065: ec_private_key_dont_crash
This change saves several EC routines from crashing when an EC_KEY is
missing a public key. The public key is optional in the EC private key
format and, without this patch, running the following through `openssl
ec` causes a crash:

-----BEGIN EC PRIVATE KEY-----
MBkCAQEECAECAwQFBgcIoAoGCCqGSM49AwEH
-----END EC PRIVATE KEY-----

Reviewed-by: Dr Stephen Henson <steve@openssl.org>
(cherry picked from commit b391570bdeb386d4fd325917c248d593d3c43930)
2014-08-27 19:42:09 +02:00
..
2014-08-06 21:30:39 +01:00
2013-10-01 15:26:14 +01:00
2009-12-22 11:45:59 +00:00
2014-05-29 14:12:13 +01:00
2011-02-03 12:04:40 +00:00
2010-05-26 23:23:44 +00:00
2009-09-06 15:49:12 +00:00
2014-08-27 19:42:09 +02:00
2012-10-05 20:51:31 +00:00
2012-10-05 20:51:31 +00:00
2013-01-20 01:12:15 +00:00
2014-06-27 22:59:13 +01:00
2011-05-19 17:39:49 +00:00
2014-06-28 00:06:47 +01:00
2009-12-09 15:00:20 +00:00
2007-08-31 10:12:35 +00:00
2006-02-04 01:45:59 +00:00
2014-08-06 21:30:39 +01:00
2014-07-06 00:36:10 +01:00
2014-05-29 14:12:13 +01:00
2009-02-14 21:49:38 +00:00
2014-07-05 22:38:56 +01:00
2008-12-23 11:33:01 +00:00
2014-08-06 22:24:50 +01:00
2009-02-19 09:42:51 +00:00
2014-04-22 22:52:26 +01:00
2014-04-15 18:53:14 +01:00
2011-08-12 12:32:10 +00:00
2013-02-05 16:46:15 +00:00
2000-02-01 02:21:16 +00:00
2006-10-23 07:41:05 +00:00
2007-06-23 18:47:51 +00:00
2009-04-16 17:22:51 +00:00
2009-06-01 12:14:15 +00:00
2014-08-06 22:25:27 +01:00
2008-11-11 12:23:18 +00:00
2014-01-11 22:42:15 +00:00
2003-11-28 13:10:58 +00:00