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

krb5_free_principal — Free the pwd_data allocated by krb5_copy_principal

  Table of Contents



C Prototype

void krb5_free_principal(
krb5_context context,
krb5_principal val );


context (input/output) 

The context structure.

val (input/output) 

A pointer to the data structure to be freed.


This routine frees the pwd_data val that has been allocated from krb5_copy_principal.

Return Values

This routine returns the following KRB5 status code: