+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
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;
}
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);