From fd36a5a8fa518d256eecef38ff74f1cf0e5ea53b Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Mon, 19 Dec 1994 23:07:39 +0000 Subject: Do the right thing if we are compiling without V4 support. (The dump_v4db command is disabled.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4736 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/edit/dumpv4.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/admin/edit/dumpv4.c') diff --git a/src/admin/edit/dumpv4.c b/src/admin/edit/dumpv4.c index f31c5bce77..c542603b6f 100644 --- a/src/admin/edit/dumpv4.c +++ b/src/admin/edit/dumpv4.c @@ -24,6 +24,8 @@ * Dump a KDC database into a V4 slave dump. */ +#ifdef KRB4 + #include #include #include @@ -364,3 +366,12 @@ handle_one_key(arg, v5master, v5key, v4key) return 0; } + +#else /* KRB4 */ +void dump_v4db(argc, argv) + int argc; + char **argv; +{ + printf("This version of krb5_edit does not support the V4 dump command.\n"); +} +#endif /* KRB4 */ -- cgit