From: Theodore Tso Date: Thu, 1 Dec 1994 03:34:35 +0000 (+0000) Subject: Set the principal's type and magic number X-Git-Tag: krb5-1.0-beta5~927 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e1f97111554ead82677d08a0c85ff57afcbb7eb7;p=krb5.git Set the principal's type and magic number git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4725 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 63d8dd5c3..59da66f82 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -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. diff --git a/src/lib/krb5/krb/bld_princ.c b/src/lib/krb5/krb/bld_princ.c index cc944f05d..8a93fe66c 100644 --- a/src/lib/krb5/krb/bld_princ.c +++ b/src/lib/krb5/krb/bld_princ.c @@ -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; }