* krb5_encode_test.c (main): In case of an error in the encoding
authorTheodore Tso <tytso@mit.edu>
Thu, 9 Nov 1995 01:05:57 +0000 (01:05 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 9 Nov 1995 01:05:57 +0000 (01:05 +0000)
commit7d2b2444f213d9f9b7560bad49bafff4fc46a526
tree67a2fde74795672d6e83bde28aa5f4d15a920e0a
parente8d6f2d6df42a036824d1c93c98a0d6bbbb8d8c7
* krb5_encode_test.c (main): In case of an error in the encoding
routines, exit.  Otherwise, calling the print routines will often
lead to a coredump.

* ktest.c (ktest_make_sample_etype_info): Set etype.length to -1 to
mean that the optional salt string is missing.  (This is change in
the convention used by the ASN.1 encoder and decoder for this ASN.1
structure.)

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