(kerberos5_send): use `krb5_auth_setkeytype' instead of

`krb5_auth_setenctype' to make sure we get a DES session key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6046 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-04-25 17:36:57 +00:00
parent 7e3644da1f
commit 2e3cbdaadb

View File

@@ -187,7 +187,7 @@ kerberos5_send(char *name, Authenticator *ap)
return(0);
}
krb5_auth_setenctype (context, auth_context, ETYPE_DES_CBC_MD5);
krb5_auth_setkeytype (context, auth_context, KEYTYPE_DES);
foo[0] = ap->type;
foo[1] = ap->way;