From: Robbie Harwood Date: Wed, 15 Feb 2017 02:19:45 +0000 (-0500) Subject: Find gss_get_mic_iov extensions in GSS modules X-Git-Tag: krb5-1.20-beta1~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dc3c36eb299e599faca414a79d8c90c7b123c63;p=thirdparty%2Fkrb5.git 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@mit.edu: rewrote commit message] ticket: 9024 (new) --- diff --git a/src/lib/gssapi/mechglue/g_initialize.c b/src/lib/gssapi/mechglue/g_initialize.c index 6d49700a54..b26262d692 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;