Go to the source code of this file.
| #define Curl_ssl_close_all | ( | x | ) |
| bool Curl_clone_ssl_config | ( | struct ssl_config_data * | source, | |
| struct ssl_config_data * | dest | |||
| ) |
Definition at line 95 of file sslgen.c.
References ssl_config_data::CAfile, ssl_config_data::CApath, ssl_config_data::cipher_list, ssl_config_data::egdsocket, FALSE, ssl_config_data::random_file, strdup, TRUE, ssl_config_data::verifyhost, ssl_config_data::verifypeer, and ssl_config_data::version.
Referenced by CreateConnection().
| void Curl_free_ssl_config | ( | struct ssl_config_data * | sslc | ) |
Definition at line 135 of file sslgen.c.
References ssl_config_data::CAfile, ssl_config_data::CApath, ssl_config_data::cipher_list, ssl_config_data::egdsocket, free, and ssl_config_data::random_file.
Referenced by conn_free(), and CreateConnection().
| CURLcode Curl_ssl_addsessionid | ( | struct connectdata * | conn, | |
| void * | ssl_sessionid, | |||
| size_t | idsize | |||
| ) |
| int Curl_ssl_check_cxn | ( | struct connectdata * | conn | ) |
Definition at line 652 of file sslgen.c.
References Curl_nss_check_cxn(), and Curl_ossl_check_cxn().
Referenced by Curl_getinfo().
| void Curl_ssl_cleanup | ( | void | ) |
Definition at line 184 of file sslgen.c.
References Curl_gtls_cleanup(), Curl_nss_cleanup(), Curl_ossl_cleanup(), FALSE, and init_ssl.
Referenced by curl_global_cleanup().
| void Curl_ssl_close | ( | struct connectdata * | conn | ) |
Definition at line 411 of file sslgen.c.
References Curl_gtls_close(), Curl_nss_close(), Curl_ossl_close(), FALSE, FIRSTSOCKET, connectdata::ssl, and ssl_connect_data::use.
Referenced by conn_free(), and Curl_disconnect().
| void Curl_ssl_close_all | ( | struct SessionHandle * | data | ) |
Definition at line 381 of file sslgen.c.
References Curl_gtls_close_all(), Curl_nss_close_all(), Curl_ossl_close_all(), free, NULL, ssl_config_data::numsessions, UrlState::session, SessionHandle::set, UserDefined::ssl, and SessionHandle::state.
| bool Curl_ssl_config_matches | ( | struct ssl_config_data * | data, | |
| struct ssl_config_data * | needle | |||
| ) |
Definition at line 78 of file sslgen.c.
References ssl_config_data::CAfile, ssl_config_data::CApath, ssl_config_data::cipher_list, ssl_config_data::egdsocket, FALSE, ssl_config_data::random_file, safe_strequal(), TRUE, ssl_config_data::verifyhost, ssl_config_data::verifypeer, and ssl_config_data::version.
Referenced by ConnectionExists().
| CURLcode Curl_ssl_connect | ( | struct connectdata * | conn, | |
| int | sockindex | |||
| ) |
Definition at line 203 of file sslgen.c.
References Curl_gtls_connect(), Curl_nss_connect(), Curl_ossl_connect(), CURLE_OK, connectdata::ssl, TRUE, and ssl_connect_data::use.
Referenced by Curl_ftp_connect(), Curl_http_connect(), Curl_ssl_connect_nonblocking(), ftp_state_get_resp(), ftp_state_stor_resp(), and ftp_statemach_act().
| CURLcode Curl_ssl_connect_nonblocking | ( | struct connectdata * | conn, | |
| int | sockindex, | |||
| bool * | done | |||
| ) |
Definition at line 230 of file sslgen.c.
References Curl_nss_connect(), Curl_ossl_connect_nonblocking(), Curl_ssl_connect(), connectdata::ssl, TRUE, and ssl_connect_data::use.
Referenced by Curl_https_connecting().
| bool Curl_ssl_data_pending | ( | struct connectdata * | conn, | |
| int | connindex | |||
| ) |
Definition at line 667 of file sslgen.c.
References FALSE, and connectdata::ssl.
Referenced by data_pending().
| struct curl_slist* Curl_ssl_engines_list | ( | struct SessionHandle * | data | ) | [read] |
Definition at line 500 of file sslgen.c.
References Curl_ossl_engines_list(), and NULL.
Referenced by Curl_getinfo().
| int Curl_ssl_getsessionid | ( | struct connectdata * | conn, | |
| void ** | ssl_sessionid, | |||
| size_t * | idsize | |||
| ) |
| int Curl_ssl_init | ( | void | ) |
Global SSL init
| 0 | error initializing SSL | |
| 1 | SSL initialized successfully |
Definition at line 159 of file sslgen.c.
References Curl_gtls_init(), Curl_nss_init(), Curl_ossl_init(), init_ssl, and TRUE.
Referenced by curl_global_init().
| CURLcode Curl_ssl_initsessions | ( | struct SessionHandle * | , | |
| long | ||||
| ) |
Definition at line 597 of file sslgen.c.
References calloc, CURLE_OK, CURLE_OUT_OF_MEMORY, ssl_config_data::numsessions, UrlState::session, UrlState::sessionage, SessionHandle::set, UserDefined::ssl, and SessionHandle::state.
Referenced by Curl_pretransfer().
| ssize_t Curl_ssl_recv | ( | struct connectdata * | conn, | |
| int | sockindex, | |||
| char * | mem, | |||
| size_t | len | |||
| ) |
Definition at line 554 of file sslgen.c.
References Curl_gtls_recv(), Curl_nss_recv(), Curl_ossl_recv(), FALSE, and ssize_t.
Referenced by Curl_read().
| ssize_t Curl_ssl_send | ( | struct connectdata * | conn, | |
| int | sockindex, | |||
| void * | mem, | |||
| size_t | len | |||
| ) |
Definition at line 524 of file sslgen.c.
References Curl_gtls_send(), Curl_nss_send(), and Curl_ossl_send().
Referenced by Curl_write().
| CURLcode Curl_ssl_set_engine | ( | struct SessionHandle * | data, | |
| const char * | engine | |||
| ) |
Definition at line 448 of file sslgen.c.
References Curl_ossl_set_engine(), and CURLE_FAILED_INIT.
Referenced by Curl_setopt().
| CURLcode Curl_ssl_set_engine_default | ( | struct SessionHandle * | data | ) |
Definition at line 476 of file sslgen.c.
References Curl_ossl_set_engine_default(), and CURLE_FAILED_INIT.
Referenced by Curl_setopt().
| CURLcode Curl_ssl_shutdown | ( | struct connectdata * | conn, | |
| int | sockindex | |||
| ) |
Definition at line 427 of file sslgen.c.
References Curl_gtls_shutdown(), Curl_ossl_shutdown(), CURLE_OK, CURLE_SSL_SHUTDOWN_FAILED, connectdata::ssl, and ssl_connect_data::use.
Referenced by ftp_statemach_act().
| size_t Curl_ssl_version | ( | char * | buffer, | |
| size_t | size | |||
| ) |
Definition at line 624 of file sslgen.c.
References Curl_gtls_version(), Curl_nss_version(), and Curl_ossl_version().
Referenced by curl_version(), and curl_version_info().
1.5.6