summaryrefslogtreecommitdiff
path: root/libexec/telnetd/state.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-07-02 14:16:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-07-02 14:16:03 +0000
commit9d388b2ab070f478b7b08c6ab2b9e6ff034d9e45 (patch)
tree7327346369f825caabd0dd68ead3bc0956fcd3c2 /libexec/telnetd/state.c
parent6245c4c92b88c4d46a0eabe10bbfc3f6b8251bfc (diff)
Allows building w/o kerb support
Diffstat (limited to 'libexec/telnetd/state.c')
-rw-r--r--libexec/telnetd/state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c
index 3d8428852b9..4b1441a3bbf 100644
--- a/libexec/telnetd/state.c
+++ b/libexec/telnetd/state.c
@@ -118,8 +118,9 @@ telrcv(void)
* if CRMOD is set, which it normally is).
*/
if ((c == '\r') && his_state_is_wont(TELOPT_BINARY)) {
- int nc = *netip;
#ifdef ENCRYPTION
+ int nc = *netip;
+
if (decrypt_input)
nc = (*decrypt_input)(nc & 0xff);
#endif