Set the principal's type and magic number
authorTheodore Tso <tytso@mit.edu>
Thu, 1 Dec 1994 03:34:35 +0000 (03:34 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 1 Dec 1994 03:34:35 +0000 (03:34 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4725 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/bld_princ.c

index 63d8dd5c3d12789056e78b185b59a1f141125d54..59da66f82607b91a805ebffdd2cd24bc2de5fdbb 100644 (file)
@@ -1,5 +1,8 @@
 Wed Nov 30 17:10:39 1994  Theodore Y. Ts'o  (tytso@dcl)
 
+       * bld_princ.c (krb5_build_principal_va): Set the principal's type
+               and magic number.
+
         * Makefile.in: Build new test driver (t_walk_rtree) for
                krb5_walk_realm_tree.
 
index cc944f05d17c3061c5ad03347eb336afb7b40f80..8a93fe66cb3bcb813c5b026a435d1e9947ebaf3f 100644 (file)
@@ -93,7 +93,8 @@ va_list ap;
     }
     princ->data = data;
     princ->length = i;
-    /* Set princ->type */
+    princ->type = KRB5_NT_UNKNOWN;
+    princ->magic = KV5M_PRINCIPAL;
     return 0;
 }