krb5_encode_test.c (PRS): Add the -p option to krb5_encode_test to
authorTheodore Tso <tytso@mit.edu>
Thu, 14 Nov 1996 19:25:10 +0000 (19:25 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 14 Nov 1996 19:25:10 +0000 (19:25 +0000)
commit976082f35e350dcb22e397c0ec122cbf900613fb
tree39e43227ac53b936f0907587a7fa305ef6268862
parentcc4aceebabb22f019fd8c89928c828145c043d4a
krb5_encode_test.c (PRS): Add the -p option to krb5_encode_test to
change the sample principal value (to test encoding of
different krb5 principals).

ktest.c (ktest_make_sample_principal): Use krb5_parse_principal so
that sample principal can be configured for different purposes.

krb5_decode_test.c (main):
krb5_encode_test.c (main): Check return value from krb5_init_context to
make sure it succeeded.

Makefile.in (check): Set KRB5_CONFIG to $(TOPSRC)/config-files/krb5.conf
so that the tests work.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9412 dc483132-0cff-0310-8789-dd5450dbe970
src/tests/asn.1/ChangeLog
src/tests/asn.1/Makefile.in
src/tests/asn.1/krb5_decode_test.c
src/tests/asn.1/krb5_encode_test.c
src/tests/asn.1/ktest.c
src/tests/asn.1/ktest.h