Searched refs:x509_ctx (Results 1 – 2 of 2) sorted by relevance
939 static int curl_cb_ssl_verify(int preverify_ok, X509_STORE_CTX *x509_ctx) in curl_cb_ssl_verify() argument950 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in curl_cb_ssl_verify()958 err = X509_STORE_CTX_get_error(x509_ctx); in curl_cb_ssl_verify()960 depth = X509_STORE_CTX_get_error_depth(x509_ctx); in curl_cb_ssl_verify()961 cert = X509_STORE_CTX_get_current_cert(x509_ctx); in curl_cb_ssl_verify()
1497 static int tls_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) in tls_verify_cb() argument1508 err_cert = X509_STORE_CTX_get_current_cert(x509_ctx); in tls_verify_cb()1512 err = X509_STORE_CTX_get_error(x509_ctx); in tls_verify_cb()1513 depth = X509_STORE_CTX_get_error_depth(x509_ctx); in tls_verify_cb()1514 ssl = X509_STORE_CTX_get_ex_data(x509_ctx, in tls_verify_cb()