Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libauthen-krb5-perl
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Perl Group
modules
packages
libauthen-krb5-perl
Commits
3558a417
Commit
3558a417
authored
8 years ago
by
Damyan Ivanov
Browse files
Options
Downloads
Patches
Plain Diff
add patch removing references to obsolete krb5_{get,free}_krbhst
Thanks to Sergio Gelato. Closes: #830844
parent
5f3abeb7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/obsolete-krb_get,free_krbhst.patch
+51
-0
51 additions, 0 deletions
debian/patches/obsolete-krb_get,free_krbhst.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
52 additions
and
0 deletions
debian/patches/obsolete-krb_get,free_krbhst.patch
0 → 100644
+
51
−
0
View file @
3558a417
Description: remove references to obsolete krb5_{get,free}_krbhst
These routines were internal and are removed from krb5.
They aren't used anyway and only cause module load failures when
PERL_DL_NONLAZY is set.
Thanks to Sergio Gelato
https://codesearch.debian.net/search?q=krb5_get_krbhst shows no relevant usage
Bug-Debian: https://bugs.debian.org/830844
--- a/Krb5.xs
+++ b/Krb5.xs
@@ -47,14 +47,6 @@
static krb5_error_code err;
static krb5_keytab_entry keytab_entry_init;
/*
- * These are internal Kerberos library functions that aren't prototyped and
- * that we probably shouldn't be calling. Prototype them with the arguments
- * we expect and leave them for now pending an API cleanup.
- */
-krb5_error_code krb5_free_krbhst(krb5_context, char * const *);
-krb5_error_code krb5_get_krbhst(krb5_context, const krb5_data *, char ***);
-
-/*
* The following three routines implement a "safehouse" for nested Kerberos
* data structures which shouldn't be freed before their parent data
* structures are freed. Without this, "Bad free() ignored" errors as well
@@ -181,26 +173,6 @@
krb5_get_host_realm(host)
}
krb5_free_host_realm(context,realmlist);
-void
-krb5_get_krbhst(realm)
- char *realm
-
- PREINIT:
- krb5_data realm_data;
- char **hostlist;
- int i;
-
- PPCODE:
- realm_data.data = realm;
- realm_data.length = strlen(realm);
- err = krb5_get_krbhst(context,&realm_data,&hostlist);
- if (err || !hostlist) XSRETURN_UNDEF;
- for (i = 0; hostlist[i]; i++) {
- XPUSHs(sv_2mortal(newSVpv(hostlist[i],
- strlen(hostlist[i]))));
- }
- krb5_free_krbhst(context,hostlist);
-
Authen::Krb5::Principal
krb5_build_principal_ext(p)
Authen::Krb5::Principal p
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
3558a417
better-compiler-flags
fix_pod
fix-init_context.patch
obsolete-krb_get,free_krbhst.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment