skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_free_keytab_entry_contents  Free the contents of a keytab entry krb5_free_keytab_entry_contents Free the contents of a keytab...
go to next page: krb5_free_tgt_creds  Free TGT credentialskrb5_free_tgt_creds Free TGT credentials
end of book navigation links

krb5_free_principal -- Free the pwd_data allocated by krb5_copy_principal  



C Prototype 

void krb5_free_principal(
         krb5_context     context,
         krb5_principal   val );

Arguments 

context
(input/output)
 The context structure.
val (input/output) A pointer to the data structure to be freed.

Description 

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:

None.



go to previous page: krb5_free_keytab_entry_contents  Free the contents of a keytab entry krb5_free_keytab_entry_contents Free the contents of a keytab...
go to next page: krb5_free_tgt_creds  Free TGT credentialskrb5_free_tgt_creds Free TGT credentials