ZFormatAuthenticNotice is a krb4-only thing
git-svn-id: svn://svn.1ts.org/debian/trunk@353
cbed1d16-5ef5-0310-b6a1-
d4a37b08ba1f
#include <internal.h>
-#if defined(HAVE_KRB4) || defined(HAVE_KRB5)
+#ifdef HAVE_KRB4
Code_t
ZFormatAuthenticNotice(ZNotice_t *notice,
char *buffer,
if (retval)
return (ZAUTH_FAILED);
+#ifdef HAVE_KRB4
if (key_len == 8 && (enctype == ENCTYPE_DES_CBC_CRC ||
enctype == ENCTYPE_DES_CBC_MD4 ||
enctype == ENCTYPE_DES_CBC_MD5)) {
return ZFormatAuthenticNotice(notice, buffer, buffer_len, len,
tmp);
}
+#endif
newnotice = *notice;
newnotice.z_auth = 1;