---
name: "gss_release_cred"
section: "3"
platform: "linux"
package: "gss-man"
version: "1.0.4-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gss_release_cred"
---

# gss\_release\_cred(3)

API function

## NAME

gss\_release\_cred - API function

## SYNOPSIS

**#include \<gss.h\>**

**OM\_uint32 gss\_release\_cred(OM\_uint32 \*** *minor\_status***, gss\_cred\_id\_t \*** *cred\_handle***);**

## ARGUMENTS

- OM\_uint32 \* minor\_status

  (Integer, modify) Mechanism specific status code.

- gss\_cred\_id\_t \* cred\_handle

  (gss\_cred\_id\_t, modify, optional) Opaque handle\
     identifying credential to be released.  If GSS\_C\_NO\_CREDENTIAL is\
     supplied, the routine will complete successfully, but will do\
     nothing.

## DESCRIPTION

Informs GSS-API that the specified credential handle is no longer required by the application, and frees associated resources.  The cred\_handle is set to GSS\_C\_NO\_CREDENTIAL on successful completion of this call.

## RETURN VALUE

\`GSS\_S\_COMPLETE\`: Successful completion.

\`GSS\_S\_NO\_CRED\`: Credentials could not be accessed.

## REPORTING BUGS

Report bugs to \<bug-gss@gnu.org\>. GNU Generic Security Service home page: http://www.gnu.org/software/gss/ General help using GNU software: http://www.gnu.org/gethelp/

## COPYRIGHT

Copyright © 2003-2022 Simon Josefsson.\
 Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

## SEE ALSO

The full documentation for **gss** is maintained as a Texinfo manual.  If the **info** and **gss** programs are properly installed at your site, the command

-

  **info gss**

should give you access to the complete manual.
