]> granicus.if.org Git - p11-kit/commit
trust: Handle incorrectly encoded CKA_SERIAL_NUMBER lookups
authorStef Walter <stefw@gnome.org>
Mon, 18 Mar 2013 19:05:52 +0000 (20:05 +0100)
committerStef Walter <stefw@gnome.org>
Mon, 18 Mar 2013 20:53:24 +0000 (21:53 +0100)
commit1ad9f98b11f3f0d411bf9517f1dc8985ea3dbe2a
treee93f94fbe7522db404bca4c6794e8c3ae65ba341
parentf40e5f7129ece4b74aa2cb23b28b24b381bbe223
trust: Handle incorrectly encoded CKA_SERIAL_NUMBER lookups

Handle lookups for trust objects (by NSS) which expect CKA_SERIAL_NUMBER
attributes without appropriate DER encoding.

In addition allow creation of NSS trust objects as PKCS#11 session
objects, so that we can test this behavior.
trust/builder.c
trust/module.c
trust/tests/test-module.c