z/OS Cryptographic Services System SSL Programming
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


gsk_uninitialize()

z/OS Cryptographic Services System SSL Programming
SC14-7495-00

Terminates the SSL environment.

Format

   #include <gskssl.h>

   gsk_status gsk_uninitialize ( void )

Parameters

There are no parameters.

Results

The function return value will be 0 (GSK_OK) if no error is detected. Otherwise, it will be one of the return codes listed in the gskssl.h include file. This is a possible error:
[GSK_ERROR_CLOSE_FAILED]
An error occurred while closing the environment.

Usage

The gsk_uninitialize() routine will close the SSL environment created by the gsk_initialize() routine. New SSL connections cannot be initiated after calling the gsk_uninitialize() routine until the gsk_initialize() routine is called to initialize a new SSL environment. All resources allocated for the environment will be released unless there are active SSL connections still using the environment. If there are active connections, the environment is not closed until the last connection is closed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014