summaryrefslogtreecommitdiff
path: root/libexec/telnetd/utility.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/utility.c
parent6245c4c92b88c4d46a0eabe10bbfc3f6b8251bfc (diff)
Allows building w/o kerb support
Diffstat (limited to 'libexec/telnetd/utility.c')
-rw-r--r--libexec/telnetd/utility.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/telnetd/utility.c b/libexec/telnetd/utility.c
index b14a10246fc..b0332126b13 100644
--- a/libexec/telnetd/utility.c
+++ b/libexec/telnetd/utility.c
@@ -546,7 +546,9 @@ printsub(int direction, unsigned char *pointer, int length)
/* length of suboption data */
{
int i = 0;
+#ifdef AUTHENTICATION
unsigned char buf[512];
+#endif
if (!(diagnostic & TD_OPTIONS))
return;