Makefile.in: Added flags to turn on the encryption option
authorTheodore Tso <tytso@mit.edu>
Tue, 19 Mar 1996 02:38:56 +0000 (02:38 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 19 Mar 1996 02:38:56 +0000 (02:38 +0000)
commit12bf8c806285ed4a0689eb7cc3966896dc80568b
tree124f208287882057303cd71c5de2314d4d736429
parentcd03be26f1019467b1be10b4f2b2b75265e94aff
Makefile.in: Added flags to turn on the encryption option

authenc.c (telnet_spin): Implemented the telnet spin function, which
works by calling the Scheduler with the tty_lockout flag set.

main.c (main): If the -x option is given, set the autologin,
wantencryption, and auth_enable_encrypt flag.  They enable
authentication, enforcement of the encryption option, and a flag to
the auth layer to negotiate authentication with mandatory encryption
option.

telnet.c (telnet): If the wantencryption flag is set (because the user
has given the -x option, then we enforce that encryption must be
turned on.  The user will not be able to type to the network stream
until encryption is enabled, and if encryption is refused, the client
will print an error message.
(Scheduler): If the tty_lockout flag is set, then don't process
keyboard read events.  This prevents the user from typing over the
network until encryption is enabled.

utilities.c (printsub): Added print support for the authentication
must-encrypt option.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7662 dc483132-0cff-0310-8789-dd5450dbe970
src/appl/telnet/telnet/ChangeLog
src/appl/telnet/telnet/Makefile.in
src/appl/telnet/telnet/authenc.c
src/appl/telnet/telnet/externs.h
src/appl/telnet/telnet/main.c
src/appl/telnet/telnet/telnet.c
src/appl/telnet/telnet/utilities.c