# For copying and distribution information, please see the file
# <krb5/copyright.h>.
#
-DEFINES = -DBACKWARD_COMPAT
+
+#ifdef Krb4KDCCompat
+KRB4DEF = -DKRB4
+#else
+KRB4DEF =
+#endif
+DEFINES = -DBACKWARD_COMPAT $(KRB4DEF)
+
INCLUDES = $(KRB4INCLUDES)
SRCS= \
kdc5_err.c \
retval = process_as_req(as_req, from, response);
krb5_free_kdc_req(as_req);
}
- } else if (pkt->data[0] == 4) /* XXX old version */
+ }
+#ifdef KRB4
+ else if (pkt->data[0] == 4) /* XXX old version */
return(process_v4(pkt, from, response));
+#endif
else
retval = KRB5KRB_AP_ERR_MSG_TYPE;
return retval;
* <mit-copyright.h>.
*/
+#ifdef KRB4
#ifndef lint
-static char *rcsid_kerberos_c =
-"$Header$";
+static char rcsid_kerberos_c[] =
+"$Id$";
#endif /* lint */
+
#ifdef __STDC__
#include <stdarg.h>
#else
}
}
#endif /* BACKWARD_COMPAT */
+#endif /* KRB4 */