components/krb5/patches/060-header-files-cleanup.patch
author Shawn Emery <shawn.emery@oracle.com>
Tue, 09 Aug 2016 21:10:38 -0700
changeset 6599 1d033832c5e7
parent 5490 9bf0bc57423a
child 6978 14cbeb78966a
permissions -rw-r--r--
24377741 Update Userland krb5 to MIT 1.14.3 24379666 problem in UTILITY/KERBEROS

#
# This patch addresses two issues:
#
# 1. gssapi.hin modification will address redefinition errors when compiling
#    ON gate using userland kerberos package.
#
# 2. admin.h modification was requested by AK team to avoid extern declaration
#    of kadm5_get_master().
#
# NOTE: These two modifications are solaris specific changes and will not be
#       pushed upstream. We will maintain them as patch.
# Patch source: in-house
#
diff --git a/src/lib/gssapi/generic/gssapi.hin b/src/lib/gssapi/generic/gssapi.hin
--- a/src/lib/gssapi/generic/gssapi.hin
+++ b/src/lib/gssapi/generic/gssapi.hin
@@ -55,11 +55,6 @@ extern "C" {
 #include <stdint.h>
 
 /*
- * First, include stddef.h to get size_t defined.
- */
-#include <stddef.h>
-
-/*
  * POSIX says that sys/types.h is where size_t is defined.
  */
 #include <sys/types.h>
diff --git a/src/lib/kadm5/admin.h b/src/lib/kadm5/admin.h
--- a/src/lib/kadm5/admin.h
+++ b/src/lib/kadm5/admin.h
@@ -547,6 +547,9 @@ kadm5_ret_t    kadm5_free_strings(void *server_handle,
                                   krb5_string_attr *strings,
                                   int count);
 
+kadm5_ret_t    kadm5_get_master(krb5_context context, const char *realm,
+                                char **master);
+
 KADM5INT_END_DECLS
 
 #endif /* __KADM5_ADMIN_H__ */