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
This commit is contained in:
Jeffrey Altman
2019-01-13 20:25:44 -05:00
parent 387684aa93
commit a205fe17c6

View File

@@ -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,