(_kadm5_generate_key_set): since arcfour-hmac-md5 is without salting,

some people tries to add the string "arcfour-hmac-md5" when they
really should have used "arcfour-hmac-md5:pw-salt", help them and add
glue for that


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14152 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-08-25 15:29:09 +00:00
parent 4560513573
commit 423fef40e4

View File

@@ -257,7 +257,9 @@ _kadm5_generate_key_set(krb5_context context, krb5_principal principal,
p = "des:pw-salt:";
else if(strcmp(p, "afs") == 0 || strcmp(p, "afs3") == 0)
p = "des:afs3-salt";
else if (strcmp(p, "arcfour-hmac-md5") == 0)
p = "arcfour-hmac-md5:pw-salt";
memset(&salt, 0, sizeof(salt));
ret = parse_key_set(context, p,