Fix calling conventions for Windows
This commit is contained in:
@@ -49,8 +49,9 @@ gss_OID_desc _gss_spnego_krb5_mechanism_oid_desc =
|
||||
/*
|
||||
* Allocate a SPNEGO context handle
|
||||
*/
|
||||
OM_uint32 _gss_spnego_alloc_sec_context (OM_uint32 * minor_status,
|
||||
gss_ctx_id_t *context_handle)
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gss_spnego_alloc_sec_context (OM_uint32 * minor_status,
|
||||
gss_ctx_id_t *context_handle)
|
||||
{
|
||||
gssspnego_ctx ctx;
|
||||
|
||||
@@ -91,7 +92,7 @@ OM_uint32 _gss_spnego_alloc_sec_context (OM_uint32 * minor_status,
|
||||
* Free a SPNEGO context handle. The caller must have acquired
|
||||
* the lock before this is called.
|
||||
*/
|
||||
OM_uint32 _gss_spnego_internal_delete_sec_context
|
||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_internal_delete_sec_context
|
||||
(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t *context_handle,
|
||||
gss_buffer_t output_token
|
||||
@@ -150,7 +151,7 @@ OM_uint32 _gss_spnego_internal_delete_sec_context
|
||||
* a non-preferred mechanism was negotiated
|
||||
*/
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gss_spnego_require_mechlist_mic(OM_uint32 *minor_status,
|
||||
gssspnego_ctx ctx,
|
||||
int *require_mic)
|
||||
@@ -228,7 +229,7 @@ add_mech_type(gss_OID mech_type,
|
||||
}
|
||||
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gss_spnego_indicate_mechtypelist (OM_uint32 *minor_status,
|
||||
gss_name_t target_name,
|
||||
OM_uint32 (*func)(gss_name_t, gss_OID),
|
||||
|
Reference in New Issue
Block a user