From: Ezra Peisach Date: Fri, 26 Oct 2001 15:33:36 +0000 (+0000) Subject: * dump.c (dump_db): Pass krb5_boolean instead of char * as X-Git-Tag: krb5-1.3-alpha1~998 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=889016ec69d2466acfdc573677558a51db769837;p=krb5.git * dump.c (dump_db): Pass krb5_boolean instead of char * as argument to kb5_db_fetch_mkey(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13861 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/dbutil/ChangeLog b/src/kadmin/dbutil/ChangeLog index 9ceccf7f5..af9b6c723 100644 --- a/src/kadmin/dbutil/ChangeLog +++ b/src/kadmin/dbutil/ChangeLog @@ -1,3 +1,8 @@ +2001-10-26 Ezra Peisach + + * dump.c (dump_db): Pass krb5_boolean instead of char * as + argument to kb5_db_fetch_mkey(). + 2001-10-23 Tom Yu * loadv4.c (fixup_database): Don't set SUPPORT_DESMD5 anymore. diff --git a/src/kadmin/dbutil/dump.c b/src/kadmin/dbutil/dump.c index 0a6f57f83..2a74c48c7 100644 --- a/src/kadmin/dbutil/dump.c +++ b/src/kadmin/dbutil/dump.c @@ -1106,7 +1106,9 @@ dump_db(argc, argv) printf("Please enter new master key....\n"); if ((retval = krb5_db_fetch_mkey(util_context, master_princ, new_master_keyblock.enctype, - !new_mkey_file, TRUE, + (new_mkey_file == 0) ? + (krb5_boolean) 1 : 0, + TRUE, new_mkey_file, 0, &new_master_keyblock))) { com_err(argv[0], retval, "while reading new master key");