krb5_principal type changes
authorJohn Carr <jfc@mit.edu>
Tue, 9 Jun 1992 18:37:36 +0000 (18:37 +0000)
committerJohn Carr <jfc@mit.edu>
Tue, 9 Jun 1992 18:37:36 +0000 (18:37 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2288 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/extern.c

index a8f121438cef11ebac1b77342bda79f65b763b03..4b70a339c0ed3ae1c2cf44c07e12555f8e3ad631 100644 (file)
@@ -35,6 +35,8 @@ static char rcsid_extern_c[] =
 #include <krb5/kdb.h>
 #include <krb5/kdb_dbm.h>
 
+#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};