19313Ssos/*
29313Ssos * Copyright (c) 1998 - 2005 Kungliga Tekniska H��gskolan
39313Ssos * (Royal Institute of Technology, Stockholm, Sweden).
49313Ssos * All rights reserved.
59313Ssos *
69313Ssos * Redistribution and use in source and binary forms, with or without
79313Ssos * modification, are permitted provided that the following conditions
89313Ssos * are met:
914331Speter *
109313Ssos * 1. Redistributions of source code must retain the above copyright
119313Ssos *    notice, this list of conditions and the following disclaimer.
129313Ssos *
139313Ssos * 2. Redistributions in binary form must reproduce the above copyright
149313Ssos *    notice, this list of conditions and the following disclaimer in the
159313Ssos *    documentation and/or other materials provided with the distribution.
169313Ssos *
179313Ssos * 3. Neither the name of the Institute nor the names of its contributors
189313Ssos *    may be used to endorse or promote products derived from this software
199313Ssos *    without specific prior written permission.
209313Ssos *
219313Ssos * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
229313Ssos * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
239313Ssos * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
249313Ssos * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
259313Ssos * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
269313Ssos * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
279313Ssos * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2816322Sgpalmer * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
299313Ssos * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
309313Ssos * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
319313Ssos * SUCH DAMAGE.
329313Ssos */
3312458Sbde
3412458Sbde#include "ntlm.h"
359313Ssos
369313SsosOM_uint32 GSSAPI_CALLCONV
379313Ssos_gss_ntlm_display_status
389313Ssos           (OM_uint32		*minor_status,
399313Ssos	    OM_uint32		 status_value,
409313Ssos	    int			 status_type,
419313Ssos	    const gss_OID	 mech_type,
429313Ssos	    OM_uint32		*message_context,
439313Ssos	    gss_buffer_t	 status_string)
449313Ssos{
459313Ssos    if (minor_status)
469313Ssos	*minor_status = 0;
479313Ssos    if (status_string) {
4812458Sbde	status_string->length = 0;
499313Ssos	status_string->value = NULL;
509313Ssos    }
519313Ssos    if (message_context)
529313Ssos	*message_context = 0;
5314331Speter    return GSS_S_COMPLETE;
549313Ssos}
5512652Sbde