Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/crypto/krb5/src/lib/gssapi/mechglue/g_buffer_set.c
39586 views
1
/*
2
* Copyright 2008 by the Massachusetts Institute of Technology.
3
* All Rights Reserved.
4
*
5
* Export of this software from the United States of America may
6
* require a specific license from the United States Government.
7
* It is the responsibility of any person or organization contemplating
8
* export to obtain such a license before exporting.
9
*
10
* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
11
* distribute this software and its documentation for any purpose and
12
* without fee is hereby granted, provided that the above copyright
13
* notice appear in all copies and that both that copyright notice and
14
* this permission notice appear in supporting documentation, and that
15
* the name of M.I.T. not be used in advertising or publicity pertaining
16
* to distribution of the software without specific, written prior
17
* permission. Furthermore if you modify this software you must label
18
* your software as modified software and not distribute it in such a
19
* fashion that it might be confused with the original M.I.T. software.
20
* M.I.T. makes no representations about the suitability of
21
* this software for any purpose. It is provided "as is" without express
22
* or implied warranty.
23
*/
24
25
#include "mglueP.h"
26
#include <stdio.h>
27
#ifdef HAVE_STDLIB_H
28
#include <stdlib.h>
29
#endif
30
#include <string.h>
31
#include <errno.h>
32
33
OM_uint32 KRB5_CALLCONV gss_create_empty_buffer_set
34
(OM_uint32 * minor_status,
35
gss_buffer_set_t *buffer_set)
36
{
37
return generic_gss_create_empty_buffer_set(minor_status, buffer_set);
38
}
39
40
OM_uint32 KRB5_CALLCONV gss_add_buffer_set_member
41
(OM_uint32 * minor_status,
42
const gss_buffer_t member_buffer,
43
gss_buffer_set_t *buffer_set)
44
{
45
return generic_gss_add_buffer_set_member(minor_status,
46
member_buffer,
47
buffer_set);
48
}
49
50
OM_uint32 KRB5_CALLCONV gss_release_buffer_set
51
(OM_uint32 * minor_status,
52
gss_buffer_set_t *buffer_set)
53
{
54
return generic_gss_release_buffer_set(minor_status, buffer_set);
55
}
56
57