Path: blob/main/crypto/krb5/src/lib/gssapi/mechglue/g_buffer_set.c
39586 views
/*1* Copyright 2008 by the Massachusetts Institute of Technology.2* All Rights Reserved.3*4* Export of this software from the United States of America may5* require a specific license from the United States Government.6* It is the responsibility of any person or organization contemplating7* export to obtain such a license before exporting.8*9* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and10* distribute this software and its documentation for any purpose and11* without fee is hereby granted, provided that the above copyright12* notice appear in all copies and that both that copyright notice and13* this permission notice appear in supporting documentation, and that14* the name of M.I.T. not be used in advertising or publicity pertaining15* to distribution of the software without specific, written prior16* permission. Furthermore if you modify this software you must label17* your software as modified software and not distribute it in such a18* fashion that it might be confused with the original M.I.T. software.19* M.I.T. makes no representations about the suitability of20* this software for any purpose. It is provided "as is" without express21* or implied warranty.22*/2324#include "mglueP.h"25#include <stdio.h>26#ifdef HAVE_STDLIB_H27#include <stdlib.h>28#endif29#include <string.h>30#include <errno.h>3132OM_uint32 KRB5_CALLCONV gss_create_empty_buffer_set33(OM_uint32 * minor_status,34gss_buffer_set_t *buffer_set)35{36return generic_gss_create_empty_buffer_set(minor_status, buffer_set);37}3839OM_uint32 KRB5_CALLCONV gss_add_buffer_set_member40(OM_uint32 * minor_status,41const gss_buffer_t member_buffer,42gss_buffer_set_t *buffer_set)43{44return generic_gss_add_buffer_set_member(minor_status,45member_buffer,46buffer_set);47}4849OM_uint32 KRB5_CALLCONV gss_release_buffer_set50(OM_uint32 * minor_status,51gss_buffer_set_t *buffer_set)52{53return generic_gss_release_buffer_set(minor_status, buffer_set);54}555657