gss: don't use mechglue private header in SPNEGO
Unbreak last commit, including mech_locl.h in SPNEGO appears to break Windows builds
This commit is contained in:
@@ -783,7 +783,8 @@ _gss_negoex_init(OM_uint32 *minor,
|
|||||||
size_t nmessages = 0;
|
size_t nmessages = 0;
|
||||||
int send_alert = FALSE, mech_error = FALSE;
|
int send_alert = FALSE, mech_error = FALSE;
|
||||||
|
|
||||||
_mg_buffer_zero(output_token);
|
output_token->length = 0;
|
||||||
|
output_token->value = NULL;
|
||||||
|
|
||||||
if (ctx->negoex_step == 0 && input_token != GSS_C_NO_BUFFER &&
|
if (ctx->negoex_step == 0 && input_token != GSS_C_NO_BUFFER &&
|
||||||
input_token->length != 0)
|
input_token->length != 0)
|
||||||
@@ -903,7 +904,8 @@ _gss_negoex_accept(OM_uint32 *minor,
|
|||||||
size_t nmessages;
|
size_t nmessages;
|
||||||
int send_alert = FALSE, mech_error = FALSE;
|
int send_alert = FALSE, mech_error = FALSE;
|
||||||
|
|
||||||
_mg_buffer_zero(output_token);
|
output_token->length = 0;
|
||||||
|
output_token->value = NULL;
|
||||||
if (deleg_cred)
|
if (deleg_cred)
|
||||||
*deleg_cred = GSS_C_NO_CREDENTIAL;
|
*deleg_cred = GSS_C_NO_CREDENTIAL;
|
||||||
|
|
||||||
|
@@ -68,7 +68,6 @@
|
|||||||
#include <asn1_err.h>
|
#include <asn1_err.h>
|
||||||
|
|
||||||
#include <gssapi_mech.h>
|
#include <gssapi_mech.h>
|
||||||
#include <mech_locl.h>
|
|
||||||
|
|
||||||
#include "spnego_asn1.h"
|
#include "spnego_asn1.h"
|
||||||
#include "negoex_locl.h"
|
#include "negoex_locl.h"
|
||||||
|
Reference in New Issue
Block a user