* dump.c (dump_db): Pass krb5_boolean instead of char * as
authorEzra Peisach <epeisach@mit.edu>
Fri, 26 Oct 2001 15:33:36 +0000 (15:33 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 26 Oct 2001 15:33:36 +0000 (15:33 +0000)
argument to kb5_db_fetch_mkey().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13861 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/dbutil/ChangeLog
src/kadmin/dbutil/dump.c

index 9ceccf7f56072b086d39ac886af636bcfa12c156..af9b6c72370368bc064a5bad4d9f75014eb0ea6a 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-26  Ezra Peisach  <epeisach@mit.edu>
+
+       * dump.c (dump_db): Pass krb5_boolean instead of char * as
+       argument to kb5_db_fetch_mkey().
+
 2001-10-23  Tom Yu  <tlyu@mit.edu>
 
        * loadv4.c (fixup_database): Don't set SUPPORT_DESMD5 anymore.
index 0a6f57f8386c00de746b1b4962315ebeb1548b6a..2a74c48c7fbf8f4994b81b5599ef55f324a1561b 100644 (file)
@@ -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");