From e1f97111554ead82677d08a0c85ff57afcbb7eb7 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 1 Dec 1994 03:34:35 +0000 Subject: [PATCH] Set the principal's type and magic number git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4725 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 3 +++ src/lib/krb5/krb/bld_princ.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.26.2