Fix warnings (some bugs, some spurious)
Many spurious VC warnings not quieted though.
This commit is contained in:
@@ -1231,7 +1231,7 @@ gss_release_cred_by_mech(
|
||||
GSSAPI_LIB_FUNCTION void GSSAPI_LIB_CALL
|
||||
gss_set_log_function(void *ctx, void (*func)(void * ctx, int level, const char *fmt, va_list));
|
||||
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_destroy_cred(OM_uint32 *minor_status,
|
||||
gss_cred_id_t *cred_handle);
|
||||
|
||||
|
@@ -76,13 +76,13 @@ add_env(OM_uint32 *minor,
|
||||
static OM_uint32
|
||||
set_proc(OM_uint32 *minor, gss_buffer_set_t env)
|
||||
{
|
||||
size_t i;
|
||||
|
||||
/*
|
||||
* XXX On systems with setpag(), call setpag(). On WIN32... create a
|
||||
* session, set the access token, ...?
|
||||
*/
|
||||
#ifndef WIN32
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < env->count; i++)
|
||||
putenv(env->elements[i].value);
|
||||
#endif
|
||||
|
@@ -196,8 +196,8 @@ _gss_mg_decode_le_uint16(const void *ptr, uint16_t *n)
|
||||
void
|
||||
_gss_mg_encode_be_uint16(uint16_t n, uint8_t *p)
|
||||
{
|
||||
p[0] = (n >> 24) & 0xFF;
|
||||
p[1] = (n >> 16) & 0xFF;
|
||||
p[0] = (n >> 8) & 0xFF;
|
||||
p[1] = (n >> 0) & 0xFF;
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user