Wladimir J. van der Laan 35fc9351d0 Improve robustness of DER recoding code
Add some defensive programming on top of #5634.

This copies the respective OpenSSL code in ECDSA_verify in
OpenSSL pre-1.0.1k (e.g. https://github.com/openssl/openssl/blob/OpenSSL_1_0_1j/crypto/ecdsa/ecs_vrf.c#L89)
more closely.

As reported by @sergiodemianlerner.

Github-Pull: #5640
Rebased-From: c6b7b29f232c651f898eeffb93f36c8f537c56d2
2015-01-12 20:20:01 +00:00
..
2014-01-23 16:05:01 +01:00
2014-11-21 11:22:28 +01:00
2014-05-24 18:42:01 +02:00
2014-05-26 20:02:44 +02:00
2014-12-24 23:11:46 +01:00
2013-11-30 15:42:10 +10:00
2014-08-03 17:05:49 +02:00
2014-08-18 20:14:16 +01:00
2014-04-05 00:17:09 -07:00
2013-12-04 12:46:13 +01:00
2013-12-20 16:07:33 +01:00
2014-05-25 18:02:48 +02:00
2014-08-01 16:42:50 +02:00
2014-07-09 17:11:55 +02:00
2014-07-09 17:11:55 +02:00
2014-03-22 22:13:28 +01:00
2014-05-29 20:06:24 +02:00
2014-03-22 22:13:27 +01:00
2014-03-22 22:13:27 +01:00
2014-08-01 16:42:50 +02:00
2014-02-26 11:53:51 -05:00
2014-02-26 11:53:51 -05:00
2014-05-26 20:02:44 +02:00
2014-05-29 19:52:30 +02:00