]> granicus.if.org Git - p11-kit/commit
trust: Fix logic for matching invalid NSS serial numbers
authorStef Walter <stefw@gnome.org>
Fri, 29 Mar 2013 12:40:44 +0000 (13:40 +0100)
committerStef Walter <stefw@gnome.org>
Wed, 3 Apr 2013 13:39:37 +0000 (15:39 +0200)
commit91aa0f9623e232fa253308c4f7464dab8902dfea
treed0b0bf1b012951bbd5c906aaae7edbf5b6655bd6
parenta63311a0f3f2669138d09ff8f618fd4d12fa0c3d
trust: Fix logic for matching invalid NSS serial numbers

Sometimes NSS queries for trust objects using invalid serial numbers
that do not have their DER decoding. We fixed this earlier, but want
to make sure there are no corner cases, accidentally not matching
serial numbers that happen to start with the same bytes as a DER
TLV would.
trust/module.c
trust/tests/test-module.c