* kdb5_verify.c : Remove krb5_enctype from krb5_string_to_key() args
authorChris Provenzano <proven@mit.edu>
Thu, 9 Nov 1995 22:24:52 +0000 (22:24 +0000)
committerChris Provenzano <proven@mit.edu>
Thu, 9 Nov 1995 22:24:52 +0000 (22:24 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7081 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/verify/ChangeLog
src/tests/verify/kdb5_verify.c

index 32c40e151c53b1e084215a72533bcfa0568721ad..079c52edd03991fb4b1cc51d300921239c689e73 100644 (file)
@@ -1,3 +1,7 @@
+Thu Nov 09 17:05:57 1995  Chris Provenzano (proven@mit.edu)
+
+        * kdb5_verify.c : Remove krb5_enctype from krb5_string_to_key() args.
+
 Wed Sep 06 14:20:57 1995   Chris Provenzano (proven@mit.edu)
 
         * kdb5_verify.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
index 2c7967f1761c2e9df8a30e0e16fa9c0abb80dd3c..4fe2795958e0a8d18f8f1febf3911fc53d5bd576 100644 (file)
@@ -255,12 +255,10 @@ check_princ(context, str_princ)
        goto out;
     }
 
-    retval = krb5_string_to_key(context, &master_encblock, master_keyblock.enctype,
-                               &pwd_key,
-                               &pwd,
-                               &salt);
-    if (retval) {
-       com_err(progname, retval, "while converting password to key for '%s'", princ_name);
+    if (retval = krb5_string_to_key(context, &master_encblock, 
+                                   &pwd_key, &pwd, &salt)) {
+       com_err(progname, retval, "while converting password to key for '%s'", 
+               princ_name);
        goto out;
     }
 
@@ -390,10 +388,8 @@ set_dbname_help(context, pname, dbname)
            com_err(pname, retval, "while calculated master key salt");
            return(1);
        }
-       retval = krb5_string_to_key(context, &master_encblock, 
-                                   master_keyblock.enctype, &master_keyblock,
-                                   &pwd, &scratch);
-       if (retval) {
+       if (retval = krb5_string_to_key(context, &master_encblock, 
+                                   &master_keyblock, &pwd, &scratch)) {
            com_err(pname, retval,
                    "while transforming master key from password");
            return(1);