Add test cases for PKINIT ASN.1 encoders
authorGreg Hudson <ghudson@mit.edu>
Fri, 6 Jan 2012 20:52:02 +0000 (20:52 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 6 Jan 2012 20:52:02 +0000 (20:52 +0000)
commit138db9ebba7d0d2f69ce47584f0f1d33d7eeb348
tree6c5692046c6c3434fdd50cf9f9374ec2770467ab
parente0e94b5f8d392be83be3f55cf83141126d27fd01
Add test cases for PKINIT ASN.1 encoders

Do not add decode tests, because those would trip some bugs in the
decoders, and we can't safely fix some of those bugs without interop
testing.  Encode tests are sufficient to detect when we
unintentionally change the output of the encoders.

Fix trval2() not to use the context shortcut on primitive context
tags.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25609 dc483132-0cff-0310-8789-dd5450dbe970
src/configure.in
src/tests/asn.1/Makefile.in
src/tests/asn.1/krb5_encode_test.c
src/tests/asn.1/ktest.c
src/tests/asn.1/ktest.h
src/tests/asn.1/pkinit_encode.out [new file with mode: 0644]
src/tests/asn.1/pkinit_trval.out [new file with mode: 0644]
src/tests/asn.1/trval.c