krb5 commit: Find gss_get_mic_iov extensions in GSS modules
Greg Hudson
ghudson at mit.edu
Sun Aug 29 16:25:33 EDT 2021
https://github.com/krb5/krb5/commit/2dc3c36eb299e599faca414a79d8c90c7b123c63
commit 2dc3c36eb299e599faca414a79d8c90c7b123c63
Author: Robbie Harwood <rharwood at redhat.com>
Date: Tue Feb 14 21:19:45 2017 -0500
Find gss_get_mic_iov extensions in GSS modules
Commit d750ef3130b76dd079e863ed395eb3620a37386b added
gss_get_mic_iov(), gss_verify_mic_iov(), and gss_get_mic_iov_length(),
but did not add them to the symbols looked up in external GSS modules
and interposer modules. Add them now.
[ghudson at mit.edu: rewrote commit message]
ticket: 9024 (new)
src/lib/gssapi/mechglue/g_initialize.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/lib/gssapi/mechglue/g_initialize.c b/src/lib/gssapi/mechglue/g_initialize.c
index 6d49700..b26262d 100644
--- a/src/lib/gssapi/mechglue/g_initialize.c
+++ b/src/lib/gssapi/mechglue/g_initialize.c
@@ -782,6 +782,10 @@ build_dynamicMech(void *dl, const gss_OID mech_type)
GSS_ADD_DYNAMIC_METHOD_NOLOOP(dl, mech, gssspi_query_meta_data);
GSS_ADD_DYNAMIC_METHOD_NOLOOP(dl, mech, gssspi_exchange_meta_data);
GSS_ADD_DYNAMIC_METHOD_NOLOOP(dl, mech, gssspi_query_mechanism_info);
+ /* gss_get_mic_iov extensions (added 1.12, implementable 1.20) */
+ GSS_ADD_DYNAMIC_METHOD_NOLOOP(dl, mech, gss_get_mic_iov);
+ GSS_ADD_DYNAMIC_METHOD_NOLOOP(dl, mech, gss_verify_mic_iov);
+ GSS_ADD_DYNAMIC_METHOD_NOLOOP(dl, mech, gss_get_mic_iov_length);
assert(mech_type != GSS_C_NO_OID);
@@ -886,6 +890,10 @@ build_interMech(void *dl, const gss_OID mech_type)
RESOLVE_GSSI_SYMBOL(dl, mech, gssspi, _import_sec_context_by_mech);
RESOLVE_GSSI_SYMBOL(dl, mech, gssspi, _import_name_by_mech);
RESOLVE_GSSI_SYMBOL(dl, mech, gssspi, _import_cred_by_mech);
+ /* gss_get_mic_iov extensions (added 1.12, implementable 1.20) */
+ RESOLVE_GSSI_SYMBOL(dl, mech, gss, _get_mic_iov);
+ RESOLVE_GSSI_SYMBOL(dl, mech, gss, _verify_mic_iov);
+ RESOLVE_GSSI_SYMBOL(dl, mech, gss, _get_mic_iov_length);
mech->mech_type = *mech_type;
return mech;
More information about the cvs-krb5
mailing list