summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2008-07-23 14:44:50 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2008-07-23 14:44:50 +0000
commit126ad3e2d030651876308ff9a0ec0a0f3686d421 (patch)
treeb624949a69e621aaacf16d8158739cac33ca567b /src
parent6c354704c237f051518dc7fff83abd219c371434 (diff)
downloadkrb5-126ad3e2d030651876308ff9a0ec0a0f3686d421.tar.gz
krb5-126ad3e2d030651876308ff9a0ec0a0f3686d421.tar.xz
krb5-126ad3e2d030651876308ff9a0ec0a0f3686d421.zip
The /src/windows/identity/plugins/common/dynimport.{c,h} files are used by the NIM Kerberos v5 plug-ins for run-time dynamic linking. They currently do not declare or import the following functions: krb5_get_error_message() krb5_free_error_message() krb5_clear_error_message() This patch adds declarations and definitions required for locating these functions. Relies on the addition of these functions to the prototype list in the Pismere loadfuncs-krb5.h. See ticket 6045. ticket: 6046 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20571 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/windows/identity/plugins/common/dynimport.c6
-rw-r--r--src/windows/identity/plugins/common/dynimport.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/windows/identity/plugins/common/dynimport.c b/src/windows/identity/plugins/common/dynimport.c
index ea8bbf905..99a93dd25 100644
--- a/src/windows/identity/plugins/common/dynimport.c
+++ b/src/windows/identity/plugins/common/dynimport.c
@@ -145,6 +145,9 @@ DECL_FUNC_PTR(krb5_c_random_make_octets);
DECL_FUNC_PTR(krb5_free_addresses);
DECL_FUNC_PTR(krb5_free_default_realm);
DECL_FUNC_PTR(krb5_string_to_deltat);
+DECL_FUNC_PTR(krb5_get_error_message);
+DECL_FUNC_PTR(krb5_free_error_message);
+DECL_FUNC_PTR(krb5_clear_error_message);
// Krb524 functions
DECL_FUNC_PTR(krb524_init_ets);
@@ -293,6 +296,9 @@ FUNC_INFO k5_fi[] = {
MAKE_FUNC_INFO(krb5_c_random_make_octets),
MAKE_FUNC_INFO(krb5_free_default_realm),
MAKE_FUNC_INFO(krb5_string_to_deltat),
+ MAKE_FUNC_INFO(krb5_get_error_message),
+ MAKE_FUNC_INFO(krb5_free_error_message),
+ MAKE_FUNC_INFO(krb5_clear_error_message),
END_FUNC_INFO
};
diff --git a/src/windows/identity/plugins/common/dynimport.h b/src/windows/identity/plugins/common/dynimport.h
index 2c0995cba..8660d6c0d 100644
--- a/src/windows/identity/plugins/common/dynimport.h
+++ b/src/windows/identity/plugins/common/dynimport.h
@@ -272,6 +272,9 @@ extern DECL_FUNC_PTR(krb5_free_host_realm);
extern DECL_FUNC_PTR(krb5_c_random_make_octets);
extern DECL_FUNC_PTR(krb5_free_default_realm);
extern DECL_FUNC_PTR(krb5_string_to_deltat);
+extern DECL_FUNC_PTR(krb5_get_error_message);
+extern DECL_FUNC_PTR(krb5_free_error_message);
+extern DECL_FUNC_PTR(krb5_clear_error_message);
// Krb524 functions
extern DECL_FUNC_PTR(krb524_init_ets);