summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/appl/ftp/ftp/kauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/appl/ftp/ftp/kauth.c')
-rw-r--r--crypto/heimdal/appl/ftp/ftp/kauth.c25
1 files changed, 10 insertions, 15 deletions
diff --git a/crypto/heimdal/appl/ftp/ftp/kauth.c b/crypto/heimdal/appl/ftp/ftp/kauth.c
index 613593a..36305d2 100644
--- a/crypto/heimdal/appl/ftp/ftp/kauth.c
+++ b/crypto/heimdal/appl/ftp/ftp/kauth.c
@@ -32,8 +32,10 @@
*/
#include "ftp_locl.h"
+RCSID("$Id: kauth.c 15666 2005-07-19 17:08:11Z lha $");
+
+#ifdef KRB4
#include <krb.h>
-RCSID("$Id: kauth.c,v 1.20 1999/12/02 16:58:29 joda Exp $");
void
kauth(int argc, char **argv)
@@ -142,20 +144,6 @@ kauth(int argc, char **argv)
}
void
-klist(int argc, char **argv)
-{
- int ret;
- if(argc != 1){
- printf("usage: %s\n", argv[0]);
- code = -1;
- return;
- }
-
- ret = command("SITE KLIST");
- code = (ret == COMPLETE);
-}
-
-void
kdestroy(int argc, char **argv)
{
int ret;
@@ -180,6 +168,9 @@ krbtkfile(int argc, char **argv)
ret = command("SITE KRBTKFILE %s", argv[1]);
code = (ret == COMPLETE);
}
+#endif
+
+#if defined(KRB4) || defined(KRB5)
void
afslog(int argc, char **argv)
@@ -196,3 +187,7 @@ afslog(int argc, char **argv)
ret = command("SITE AFSLOG");
code = (ret == COMPLETE);
}
+
+#else
+int ftp_afslog_placeholder;
+#endif
OpenPOWER on IntegriCloud