]> granicus.if.org Git - p11-kit/commit
trust: Parse TRUSTED CERTIFICATE openssl format even without CertAux
authorStef Walter <stef@thewalter.net>
Fri, 8 Aug 2014 07:24:47 +0000 (09:24 +0200)
committerStef Walter <stef@thewalter.net>
Fri, 8 Aug 2014 07:27:10 +0000 (09:27 +0200)
commitc22e37091278ffb339c692f5c994c3393b12a254
treee3ee89a56a46ea34a0e61df41589e1b4f13f011f
parent2e503dccd889a3f83951830fda18c9357377693d
trust: Parse TRUSTED CERTIFICATE openssl format even without CertAux

openssl sometimes outputs TRUSTED CERTIFICATE PEM files without the
additional CertAux (ie: trust fields) information. It simply leaves
that block out. This happens with a command like:

$ openssl x509 -in my-cert.pem -out output -trustout
trust/parser.c
trust/tests/files/openssl-trust-no-trust.pem [new file with mode: 0644]
trust/tests/test-parser.c