193787Sdes/*	$NetBSD$	*/
293787Sdes
393787Sdes/*-
493787Sdes * Copyright (c) 2005 Doug Rabson
593787Sdes * All rights reserved.
693787Sdes *
793787Sdes * Redistribution and use in source and binary forms, with or without
893787Sdes * modification, are permitted provided that the following conditions
993787Sdes * are met:
1093787Sdes * 1. Redistributions of source code must retain the above copyright
1193787Sdes *    notice, this list of conditions and the following disclaimer.
1293787Sdes * 2. Redistributions in binary form must reproduce the above copyright
1393787Sdes *    notice, this list of conditions and the following disclaimer in the
1493787Sdes *    documentation and/or other materials provided with the distribution.
1593787Sdes *
1693787Sdes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1793787Sdes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1893787Sdes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1993787Sdes * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2093787Sdes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2193787Sdes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2293787Sdes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2393787Sdes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2493787Sdes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2593787Sdes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2693787Sdes * SUCH DAMAGE.
2793787Sdes *
2893787Sdes *	$FreeBSD: src/lib/libgssapi/gss_seal.c,v 1.1 2005/12/29 14:40:20 dfr Exp $
2993787Sdes */
3093787Sdes
3193787Sdes#include "mech_locl.h"
3293787Sdes
3393787SdesGSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
3493787Sdesgss_seal(OM_uint32 *minor_status,
3593787Sdes    gss_ctx_id_t context_handle,
3693787Sdes    int conf_req_flag,
3793787Sdes    int qop_req,
3893787Sdes    gss_buffer_t input_message_buffer,
3993787Sdes    int *conf_state,
4093787Sdes    gss_buffer_t output_message_buffer)
4193787Sdes{
4293787Sdes
4393787Sdes	return (gss_wrap(minor_status,
4493787Sdes		    context_handle, conf_req_flag, qop_req,
4593787Sdes		    input_message_buffer, conf_state,
4693787Sdes		    output_message_buffer));
4793787Sdes}
4893787Sdes