From 92921af2a8f7d00c65dc909acd2be47f136ccfdb Mon Sep 17 00:00:00 2001 From: John Carr Date: Tue, 9 Jun 1992 18:37:36 +0000 Subject: [PATCH] krb5_principal type changes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2288 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/extern.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/kdc/extern.c b/src/kdc/extern.c index a8f121438..4b70a339c 100644 --- a/src/kdc/extern.c +++ b/src/kdc/extern.c @@ -35,6 +35,8 @@ static char rcsid_extern_c[] = #include #include +#include "extern.h" + /* real declarations of KDC's externs */ krb5_rcache kdc_rcache; @@ -55,5 +57,5 @@ char *dbm_db_name = DEFAULT_DBM_FILE; krb5_keyblock tgs_key; krb5_kvno tgs_kvno; -static krb5_data tgs_name = {sizeof(TGTNAME)-1, TGTNAME}; -krb5_data *tgs_server[4] = {0, &tgs_name, 0, 0}; +static krb5_data tgs_data[3] = { {sizeof(TGTNAME)-1, TGTNAME}, {0, 0}}; +krb5_principal_data tgs_server_struct = { { 0, 0}, tgs_data, 2, 0}; -- 2.26.2