From a205fe17c6352e0c0daeb00ac0c4946e6c2567b8 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sun, 13 Jan 2019 20:25:44 -0500 Subject: [PATCH] lib/kadm5: WIN32 fix callback calling conventions chpass_principal_with_key_hook_cb added by 57c25d9828 must be KRB5_LIB_CALL for 32-bit Windows builds. Change-Id: Ifd61caeee76f9d048bb13f93e226b99ce7e8b75c --- lib/kadm5/chpass_s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kadm5/chpass_s.c b/lib/kadm5/chpass_s.c index dfbc91b00..150b82a3e 100644 --- a/lib/kadm5/chpass_s.c +++ b/lib/kadm5/chpass_s.c @@ -302,7 +302,7 @@ struct chpass_principal_with_key_hook_ctx { krb5_key_data *key_data; }; -static krb5_error_code +static krb5_error_code KRB5_LIB_CALL chpass_principal_with_key_hook_cb(krb5_context context, const void *hook, void *hookctx,