import_sec_context.c revision 178825
1229109Sed/* 2229109Sed * Copyright (c) 1999 - 2003 Kungliga Tekniska H�gskolan 3229109Sed * (Royal Institute of Technology, Stockholm, Sweden). 4229109Sed * All rights reserved. 5229109Sed * 6229109Sed * Redistribution and use in source and binary forms, with or without 7229109Sed * modification, are permitted provided that the following conditions 8229109Sed * are met: 9229109Sed * 10229109Sed * 1. Redistributions of source code must retain the above copyright 11229109Sed * notice, this list of conditions and the following disclaimer. 12229109Sed * 13229109Sed * 2. Redistributions in binary form must reproduce the above copyright 14229109Sed * notice, this list of conditions and the following disclaimer in the 15229109Sed * documentation and/or other materials provided with the distribution. 16229109Sed * 17229109Sed * 3. Neither the name of the Institute nor the names of its contributors 18229109Sed * may be used to endorse or promote products derived from this software 19229109Sed * without specific prior written permission. 20229109Sed * 21229109Sed * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 22229109Sed * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23229109Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24229109Sed * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 25229109Sed * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26229109Sed * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27229109Sed * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28229109Sed * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29229109Sed * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30229109Sed * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31229109Sed * SUCH DAMAGE. 32229109Sed */ 33229109Sed 34229109Sed#include "ntlm/ntlm.h" 35229109Sed 36229109SedRCSID("$Id: import_sec_context.c 19334 2006-12-14 12:17:34Z lha $"); 37229109Sed 38229109SedOM_uint32 39229109Sed_gss_ntlm_import_sec_context ( 40229109Sed OM_uint32 * minor_status, 41229109Sed const gss_buffer_t interprocess_token, 42229109Sed gss_ctx_id_t * context_handle 43229109Sed ) 44{ 45 if (minor_status) 46 *minor_status = 0; 47 if (context_handle) 48 *context_handle = GSS_C_NO_CONTEXT; 49 return GSS_S_FAILURE; 50} 51