Files
wolfssl/wolfcrypt/src
David Garske dee3645c4e Fixed bug with ASN.1 X509V3 Certificate Policy extension parsing. Bug had to do with parsing when OID contains multiple items such as example 2 below. The wolfssl.com server key now contains a URL in the certificate policy "https://secure.comodo.com/CPS0", which wasn't being parsed over correctly. Also cleanup to use loop instead of duplicate code.
Example 1:
30 12
30 06 06 04 55 1D 20 00
30 08 06 06 67 81 0C 01 02 01

Result:
2.5.29.32.0
2.23.140.1.2.1

Example 2:
30 46
30 3A 06 0B 2B 06 01 04 01 B2 31 01 02 02 07
   30 2B 30 29 06 08 2B 06 01 05 05 07 02 01 16 1D 68 74 74 70 73 3A 2F 2F 73 65 63 75 72 65 2E 63 6F 6D 6F 64 6F 2E 63 6F 6D 2F 43 50 53
30 08 06 06 67 81 0C 01 02 01

Result:
1.3.6.1.4.1.6449.1.2.2.7
2.23.140.1.2.1
2016-03-07 13:40:25 -08:00
..
2015-08-29 11:32:30 +09:00
2015-01-08 09:39:04 -07:00
2016-02-01 17:11:01 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-05-27 19:34:11 +09:00
2015-01-08 09:39:04 -07:00
2015-01-08 09:39:04 -07:00
2015-05-13 15:10:05 -07:00
2015-01-08 09:39:04 -07:00