Fix handling of session key for Kerberos5. I don't think this should
authorSam Hartman <hartmans@mit.edu>
Tue, 10 Oct 1995 03:13:48 +0000 (03:13 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 10 Oct 1995 03:13:48 +0000 (03:13 +0000)
commit440213c56399401a0274b942cb66c92ce76e098f
treeeb7622a1dd5fb0fea6b988975807fbdc1b3a6c6a
parent2c3df8f5da068eef7d515b6c3d38f767824a1cd5
Fix handling of session key for Kerberos5.  I don't think this should
fix the mutual authentication bug with beta 4, but this should help
forwarding credentials and should also help if someone actually
defines ENCRYPTION.

If user defines ENCRYPTION, telnetd has the nasty behavior of
encrypting one side of the conversation, without telling the user; in
particular, only server output is encrypted.  Fixed by sending a do
encrypt if encryption defined; fix taken from Athena telnetd.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6955 dc483132-0cff-0310-8789-dd5450dbe970
src/appl/telnet/telnetd/ChangeLog
src/appl/telnet/telnetd/authenc.c
src/appl/telnet/telnetd/telnetd.c