]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Find gss_get_mic_iov extensions in GSS modules
authorRobbie Harwood <rharwood@redhat.com>
Wed, 15 Feb 2017 02:19:45 +0000 (21:19 -0500)
committerGreg Hudson <ghudson@mit.edu>
Sun, 29 Aug 2021 19:26:20 +0000 (15:26 -0400)
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)

src/lib/gssapi/mechglue/g_initialize.c

index 6d49700a5441b436e12b4deaa0ae49a8af9b8a94..b26262d69239b862c2676a7f11d7e488aef891a6 100644 (file)
@@ -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;