]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blobdiff - zephyr/lib/ZCkAuth.c
krb5-interrealm patches
[1ts-debian.git] / zephyr / lib / ZCkAuth.c
index 90633ea00c5495be88d2a46ceddbb1b265f21ae0..375145ffb7c103b0523f7b7ad65d02c70e5cb918 100644 (file)
@@ -17,6 +17,10 @@ static char rcsid_ZCheckAuthentication_c[] =
 
 #include <internal.h>
 
+#if defined(HAVE_KRB5) && !HAVE_KRB5_FREE_DATA
+#define krb5_free_data(ctx, dat) free((dat)->data)
+#endif
+
 /* Check authentication of the notice.
    If it looks authentic but fails the Kerberos check, return -1.
    If it looks authentic and passes the Kerberos check, return 1.