From 7db298668b33116854f688f4baafbec21965df28 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Thu, 12 Aug 2021 18:13:45 +1000 Subject: [PATCH] kdc: fix pa_gss_authorize_cb calling convention pa_gss_authorize_cb() needs to be marked KRB5_LIB_CALL to build on 32-bit Windows --- kdc/gss_preauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdc/gss_preauth.c b/kdc/gss_preauth.c index b23009da1..8259d29db 100644 --- a/kdc/gss_preauth.c +++ b/kdc/gss_preauth.c @@ -287,7 +287,7 @@ struct pa_gss_plugin_ctx { krb5_principal initiator_princ; }; -static krb5_error_code +static krb5_error_code KRB5_LIB_CALL pa_gss_authorize_cb(krb5_context context, const void *plug, void *plugctx,