drop krbv4 support
authorLove Hörnquist Åstrand <lha@kth.se>
Mon, 26 Jan 2009 01:11:40 +0000 (01:11 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Mon, 26 Jan 2009 01:11:40 +0000 (01:11 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24506 ec53bebd-3082-4978-b11e-865c3cabbd6b

appl/rsh/rsh_locl.h

index 118cca117a3add9e7491d423eb816f8ec69ca76e..0887297727f7789d93bc0ef043d4969a969ed0d5 100644 (file)
 #include <err.h>
 #include <roken.h>
 #include <getarg.h>
-#ifdef KRB4
-#include <krb.h>
-#include <prot.h>
-#endif
 #ifdef KRB5
 #include <krb5.h>
 /* XXX */
@@ -112,7 +108,7 @@ struct krb5_dh_moduli;
 #include "crypto-headers.h"
 #include <krb5-private.h> /* for _krb5_{get,put}_int */
 #endif
-#if defined(KRB4) || defined(KRB5)
+#if defined(KRB5)
 #include <kafs.h>
 #endif
 
@@ -130,7 +126,7 @@ struct krb5_dh_moduli;
  *
  */
 
-enum auth_method { AUTH_KRB4, AUTH_KRB5, AUTH_BROKEN };
+enum auth_method { AUTH_KRB5, AUTH_BROKEN };
 
 extern enum auth_method auth_method;
 extern int do_encrypt;
@@ -143,10 +139,6 @@ extern void *ivec_in[2];
 extern void *ivec_out[2];
 void init_ivecs(int, int);
 #endif
-#ifdef KRB4
-extern des_key_schedule schedule;
-extern des_cblock iv;
-#endif
 
 #define KCMD_OLD_VERSION "KCMDV0.1"
 #define KCMD_NEW_VERSION "KCMDV0.2"
@@ -161,7 +153,7 @@ extern des_cblock iv;
 
 #define PATH_RSH BINDIR "/rsh"
 
-#if defined(KRB4) || defined(KRB5)
+#if defined(KRB5)
 ssize_t do_read (int, void*, size_t, void*);
 ssize_t do_write (int, void*, size_t, void*);
 #else