]> granicus.if.org Git - p11-kit/commit
trust: Avoid confusion in DER/PEM decoding
authorDaiki Ueno <dueno@redhat.com>
Tue, 27 Sep 2016 09:30:23 +0000 (11:30 +0200)
committerDaiki Ueno <ueno@gnu.org>
Wed, 30 Nov 2016 15:08:25 +0000 (16:08 +0100)
commitc7d33b9fc54d618feda8960f12c71214dc9ec697
tree2a861fd8012c35db3af983fe30b4d1dc8bf01d36
parent2b86585f1b1d140b73b693c81aac8b4a9af1cb8d
trust: Avoid confusion in DER/PEM decoding

Previously p11-kit-trust.so tried to interpret certificate as PEM format
first.  This could cause potential conflict if the certificate were
actually in DER format and contained a PEM marker strings.

https://bugs.freedesktop.org/show_bug.cgi?id=92063
trust/test-token.c
trust/test-trust.h
trust/token.c