Files
heimdal/lib
Jeffrey Altman 6cfbde4d86 plugin interface functions must specify calling convention
The plugin interfaces were originally implemented for use on
Unix where KRB5_CALLCONV, HEIM_CALLCONV and similar are defined
as nothing.  However, on 32-bit Windows the calling convention
matters and executing a __stdcall function through a __cdecl
function pointer will result in failures.

This change updates the krb5plugin_windc, krb5plugin_service_locate,
krb5plugin_send_to_kdc plugins to specify the KRB5_CALLCONV for
functions.   This brings the plugins into compliance with the
heim_plugin_common interface requirement that init() and fini()
use the platform specified HEIM_CALLCONV.

The krb5-plugin(7) man page is updated and the lib/krb5/test_plugin
test is also fixed.

With this change all tests pass on 32-bit Windows.

Change-Id: Ic9d2e1285c9c179e3898dc9d071ed092bcddc406
2021-11-18 18:52:54 -06:00
..
2021-10-11 13:58:15 -05:00
2021-09-10 09:11:23 +10:00
2021-11-17 17:27:40 -06:00
2021-11-14 17:50:33 -06:00
2017-03-10 15:47:43 -05:00
2016-11-08 15:48:40 -05:00
2021-09-10 09:11:23 +10:00
2020-10-27 13:30:57 -05:00
2016-12-15 12:15:56 -06:00