skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 2:... HP Open Source Security for OpenVMS Volume 2:...
go to beginning of reference: SSL Application Programming Interface (API) Reference SSL Application Programming Interface (API) Reference
go to previous page: SSL_load_client_CA_file SSL_load_client_CA_file
go to next page: SSL_pendingSSL_pending
end of book navigation links


SSL_new
Description
Return Values
See Also
 

NAME

SSL_new - create a new SSL structure for a connection

Synopsis  

#include <openssl/ssl.h>
SSL *SSL_new(SSL_CTX *ctx);


return to top DESCRIPTION  

SSL_new() creates a new SSL structure which is needed to hold the data for a TLS/SSL connection. The new structure inherits the settings of the underlying context ctx : connection method (SSLv2/v3/TLSv1), options, verification settings, timeout settings.


return to top RETURN VALUES  

The following return values can occur:


return to top SEE ALSO  

SSL_free(3) , SSL_clear(3) , SSL_CTX_set_options(3) , SSL_get_SSL_CTX(3) , ssl(3)
go to previous page: SSL_load_client_CA_file SSL_load_client_CA_file
go to next page: SSL_pendingSSL_pending