Add magic numbers for keyblock structure
authorTheodore Tso <tytso@mit.edu>
Sat, 19 Nov 1994 05:00:01 +0000 (05:00 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 19 Nov 1994 05:00:01 +0000 (05:00 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4703 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/asn.1/ChangeLog
src/tests/asn.1/ktest.c

index 52992886ca21f950837acf317f1a819313249173..f6d00991554522efe213c625c16d9d5552c1dcaf 100644 (file)
@@ -1,3 +1,8 @@
+Fri Nov 18 16:29:01 1994  Theodore Y. Ts'o  (tytso@dcl)
+
+       * ktest.c (ktest_make_sample_keybloc): Add magic numbers for
+               keyblock structure.
+
 Tue Nov  1 20:25:02 1994  Theodore Y. Ts'o  (tytso@dcl)
 
        * trval.c: Include the tag numbers for the krb5 application tags,
index b5508a6c288714479c28e64e97dd5102491324f6..b4e9dac098174905d056ab017cc4302a85997d78 100644 (file)
@@ -64,6 +64,8 @@ krb5_error_code ktest_make_sample_checksum(DECLARG(krb5_checksum *, cs))
 krb5_error_code ktest_make_sample_keyblock(DECLARG(krb5_keyblock *, kb))
      OLDDECLARG(krb5_keyblock *, kb)
 {
+  kb->magic = KV5M_KEYBLOCK;
+  kb->etype = ETYPE_UNKNOWN;
   kb->keytype = 1;
   kb->length = 8;
   kb->contents = (krb5_octet*)calloc(8,sizeof(krb5_octet));