Skip to content

Commit

Permalink
Find gss_get_mic_iov extensions in GSS modules
Browse files Browse the repository at this point in the history
Commit d750ef3 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)
  • Loading branch information
frozencemetery authored and greghudson committed Aug 29, 2021
1 parent e662981 commit 2dc3c36
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/gssapi/mechglue/g_initialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2dc3c36

Please sign in to comment.