From 76e39391f4f5277f65e87a93e70fdf1fa6035051 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Mon, 21 Jan 2008 19:12:44 +0000 Subject: no more NOENCRYPTION --- server/subscr.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'server/subscr.c') diff --git a/server/subscr.c b/server/subscr.c index 8ed6189..949243f 100644 --- a/server/subscr.c +++ b/server/subscr.c @@ -62,11 +62,9 @@ static const char rcsid_subscr_c[] = "$Id$"; */ #ifdef HAVE_KRB4 -#ifndef NOENCRYPTION C_Block serv_key; Sched serv_ksched; #endif -#endif /* for compatibility when sending subscription information to old clients */ @@ -872,11 +870,7 @@ subscr_send_subs(Client *client) #endif /* HAVE_KRB4 */ #else /* HAVE_KRB5 */ #ifdef HAVE_KRB4 -#ifdef NOENCRYPTION - memcpy(cblock, client->session_key, sizeof(C_Block)); -#else /* NOENCRYPTION */ des_ecb_encrypt(client->session_key, cblock, serv_ksched.s, DES_ENCRYPT); -#endif /* NOENCRYPTION */ retval = ZMakeAscii(buf, sizeof(buf), cblock, sizeof(C_Block)); #endif /* HAVE_KRB4 */ -- cgit v1.2.3