summaryrefslogtreecommitdiff
path: root/server/subscr.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/subscr.c')
-rw-r--r--server/subscr.c6
1 files changed, 0 insertions, 6 deletions
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 */