Developer's Guide to Oracle® Solaris 11 Security

Exit Print View

Updated: July 2014

Cleanup in the GSSAPI Server Example

Back in the main() function, the application deletes the service credential with gss_release_cred(). If an OID for the mechanism has been specified, the program deletes the OID with gss_release_oid() and exits.

     (void) gss_release_cred(&min_stat, &server_creds);