Pass keytype to krb5_string_to_key().

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3525 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-09-22 16:20:57 +00:00
parent 5a3f3a4382
commit 9fb9a096f6

View File

@@ -61,7 +61,7 @@ krb5_password_key_proc (krb5_context context,
des_read_pw_string (buf, sizeof(buf), "Password: ", 0);
password = buf;
}
ret = krb5_string_to_key (password, salt, *key);
ret = krb5_string_to_key (password, salt, type, *key);
memset (buf, 0, sizeof(buf));
return ret;
}