summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/rel_name.c
blob: f04f5c0c9a8b1227e4a4a66cfa3898f0b65b603a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * rel_name.c --- release a gss_name_t
 * 
 * $Source$
 * $Author$
 * $Header$
 * 
 * Copyright 1991 by the Massachusetts Institute of Technology.
 * All Rights Reserved.
 *
 * For copying and distribution information, please see the file
 * <krb5/copyright.h>.
 *
 */

#include <gssapi.h>

OM_uint32 gss_release_name(minor_status, name)
	OM_uint32	*minor_status;
	gss_name_t	*name;
{
	*minor_status = 0;

	krb5_free_principal(*name);
	return(GSS_S_COMPLETE);
}