HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_free_cred_contents — Free credential structures

  Table of Contents



C Prototype

void krb5_free_cred_contents(
krb5_context context,
krb5_creds *val );


context (input/output) 

The context structure.

val (input/output) 

A pointer to the data structure to be freed.


This routine zeros out the session key stored in the credential and then frees the credentials structures. The argument val is not freed.

Return Values

This routine returns the following KRB5 status code: