1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/security/pam_krb5/files/patch-ah
2000-11-06 19:01:43 +00:00

25 lines
591 B
Plaintext

--- compat_heimdal.c.orig Mon Nov 6 10:21:49 2000
+++ compat_heimdal.c Mon Nov 6 10:48:37 2000
@@ -0,0 +1,21 @@
+#include <krb5.h>
+#include "krb5compat.h"
+
+const char *
+compat_princ_component(krb5_context context, krb5_principal princ, int n)
+{
+ return princ->name.name_string.val[n];
+}
+
+void
+compat_free_data_contents(krb5_context context, krb5_data *data)
+{
+ krb5_xfree(data);
+}
+
+krb5_error_code
+compat_cc_next_cred(krb5_context context, const krb5_ccache id,
+ krb5_cc_cursor *cursor, krb5_creds *creds)
+{
+ return krb5_cc_next_cred(context, id, creds, cursor);
+}