summaryrefslogtreecommitdiff
path: root/security/pam_krb5/files/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'security/pam_krb5/files/patch-ah')
-rw-r--r--security/pam_krb5/files/patch-ah24
1 files changed, 24 insertions, 0 deletions
diff --git a/security/pam_krb5/files/patch-ah b/security/pam_krb5/files/patch-ah
new file mode 100644
index 000000000000..8f62854e32d5
--- /dev/null
+++ b/security/pam_krb5/files/patch-ah
@@ -0,0 +1,24 @@
+--- 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);
++}