From: John Kohl Date: Wed, 27 Feb 1991 13:36:56 +0000 (+0000) Subject: changes for default_realm X-Git-Tag: krb5-1.0-alpha4~164 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=48d57c90b5e463151bc011a6197fcf7e5c33abd0;p=krb5.git changes for default_realm git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1808 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/verify/kdb5_verify.c b/src/tests/verify/kdb5_verify.c index c89594f63..ce1b20e83 100644 --- a/src/tests/verify/kdb5_verify.c +++ b/src/tests/verify/kdb5_verify.c @@ -12,7 +12,7 @@ */ #if !defined(lint) && !defined(SABER) -static char rcsid_kdb_edit_c[] = +static char rcsid_kdb_verify_c[] = "$Id$"; #endif /* !lint & !SABER */ @@ -101,7 +101,6 @@ char *argv[]; krb5_error_code retval; char *dbname = 0; - char defrealm[BUFSIZ]; int keytypedone = 0; krb5_enctype etype = 0xffff; register krb5_cryptosystem_entry *csentry; @@ -185,11 +184,10 @@ char *argv[]; dbname = DEFAULT_DBM_FILE; /* XXX? */ if (!cur_realm) { - if (retval = krb5_get_default_realm(sizeof(defrealm), defrealm)) { + if (retval = krb5_get_default_realm(&cur_realm)) { com_err(progname, retval, "while retrieving default realm name"); exit(1); } - cur_realm = defrealm; } if (retval = set_dbname_help(progname, dbname)) exit(retval);