From 4cdb695b3fc9cadabf4dcbf640933dd254b47fed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 26 Jan 2009 01:12:06 +0000 Subject: [PATCH] drop krbv4 support git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24508 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/rsh/common.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/appl/rsh/common.c b/appl/rsh/common.c index 2b363d3ab..7b41192b8 100644 --- a/appl/rsh/common.c +++ b/appl/rsh/common.c @@ -34,7 +34,7 @@ #include "rsh_locl.h" RCSID("$Id$"); -#if defined(KRB4) || defined(KRB5) +#if defined(KRB5) #ifdef KRB5 int key_usage = 1026; @@ -74,11 +74,6 @@ ssize_t do_read (int fd, void *buf, size_t sz, void *ivec) { if (do_encrypt) { -#ifdef KRB4 - if (auth_method == AUTH_KRB4) { - return des_enc_read (fd, buf, sz, schedule, &iv); - } else -#endif /* KRB4 */ #ifdef KRB5 if(auth_method == AUTH_KRB5) { krb5_error_code ret; @@ -134,11 +129,6 @@ ssize_t do_write (int fd, void *buf, size_t sz, void *ivec) { if (do_encrypt) { -#ifdef KRB4 - if(auth_method == AUTH_KRB4) { - return des_enc_write (fd, buf, sz, schedule, &iv); - } else -#endif /* KRB4 */ #ifdef KRB5 if(auth_method == AUTH_KRB5) { krb5_error_code status; @@ -177,4 +167,4 @@ do_write (int fd, void *buf, size_t sz, void *ivec) } else return write (fd, buf, sz); } -#endif /* KRB4 || KRB5 */ +#endif /* KRB5 */