fb98811412f1a61efdc30b38091bf4708148a806Allan Foster/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Copyright 1993 by OpenVision Technologies, Inc.
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * Permission to use, copy, modify, distribute, and sell this software
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * and its documentation for any purpose is hereby granted without fee,
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * provided that the above copyright notice appears in all copies and
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * that both that copyright notice and this permission notice appear in
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * supporting documentation, and that the name of OpenVision not be used
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * in advertising or publicity pertaining to distribution of the software
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * without specific, written prior permission. OpenVision makes no
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * representations about the suitability of this software for any
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * purpose. It is provided "as is" without express or implied warranty.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * PERFORMANCE OF THIS SOFTWARE.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * $Id: process_context_token.c 23457 2009-12-08 00:04:48Z tlyu $
fb98811412f1a61efdc30b38091bf4708148a806Allan Fosterkrb5_gss_process_context_token(minor_status, context_handle,
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster /* validate the context handle */
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster /* "unseal" the token */
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster if (GSS_ERROR(majerr = kg_unseal(minor_status, context_handle,
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster /* that's it. delete the context */