* ktest.c (ktest_make_sample_etype_info): Use KRB5_ETYPE_NO_SALT
authorEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:05:24 +0000 (23:05 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:05:24 +0000 (23:05 +0000)
commit115ca6e4cf0dd922795325f97bc391277deccd2c
tree0133ca0c839b93ebbfe9277f398435eb37c257b1
parentb68256b05af032ddcc8acda0b46c281b60d2d972
    * ktest.c (ktest_make_sample_etype_info): Use KRB5_ETYPE_NO_SALT
        instead of -1.

        * ktest_equal.c (ktest_equal_krb5_etype_info_entry): Test for
        KRB5_ETYPE_NO_SALT. ktest_equal_array_of_octet() and
        ktest_equal_array_of_char take unsigned int lengths.

        * ktest_equal.h: Add len_unsigned_array macro for a prototype of a
        function taking an unsigned int
        count. ktest_equal_array_of_octet() is one of
        these. ktest_equal_array_of_char() takes an unsigned int as
        length.

        * trval.c (trval): Unsigned/signed int fix.

        * utility.c (asn1_krb5_data_unparse): Better test for krb5_data
        length being less than zero.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12789 dc483132-0cff-0310-8789-dd5450dbe970
src/tests/asn.1/ChangeLog
src/tests/asn.1/ktest.c
src/tests/asn.1/ktest_equal.c
src/tests/asn.1/ktest_equal.h
src/tests/asn.1/trval.c
src/tests/asn.1/utility.c