Add PKINIT decoder tests
authorGreg Hudson <ghudson@mit.edu>
Fri, 13 Jan 2012 15:04:35 +0000 (15:04 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 13 Jan 2012 15:04:35 +0000 (15:04 +0000)
commitc3751ec386c0367b9c5024b2b91cdc5d11f6b8f8
tree90bc529dfd9817ea691b538f00b2ba39ad4a7bb2
parente680b22460a9136a7dc1f54105da470ea8f608b7
Add PKINIT decoder tests

Add tests to krb5_decode_test.c for PKINIT types.  Where the decoders
do not match the encoders, include comments and hand-generated
encodings which work with the decoder.

Add a comment to asn1_k_encode.c documenting inconsistencies between
the draft 9 PA-PK-AS-REQ spec and our encoder results.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25650 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/asn.1/asn1_k_encode.c
src/tests/asn.1/krb5_decode_test.c
src/tests/asn.1/ktest.c
src/tests/asn.1/ktest_equal.c
src/tests/asn.1/ktest_equal.h