Lines Matching refs:wssl
511 struct wolfssl_ctx *wssl) in populate_x509_store() argument
525 if(wolfSSL_CTX_load_system_CA_certs(wssl->ctx) != WOLFSSL_SUCCESS) { in populate_x509_store()
531 wssl->x509_store_setup = TRUE; in populate_x509_store()
538 if(wolfSSL_CTX_load_verify_buffer(wssl->ctx, ca_info_blob->data, in populate_x509_store()
552 wssl->x509_store_setup = TRUE; in populate_x509_store()
564 if((ssl_cafile || ssl_capath) && (!wssl->x509_store_setup)) { in populate_x509_store()
566 wolfSSL_CTX_load_verify_locations_ex(wssl->ctx, in populate_x509_store()
595 wssl->x509_store_setup = TRUE; in populate_x509_store()
720 struct wolfssl_ctx *wssl) in Curl_wssl_setup_x509_store() argument
739 if(cached_store && wolfSSL_CTX_get_cert_store(wssl->ctx) == cached_store) { in Curl_wssl_setup_x509_store()
743 wolfSSL_CTX_set_cert_store(wssl->ctx, cached_store); in Curl_wssl_setup_x509_store()
753 wolfSSL_CTX_set_cert_store(wssl->ctx, store); in Curl_wssl_setup_x509_store()
755 result = populate_x509_store(cf, data, store, wssl); in Curl_wssl_setup_x509_store()
762 WOLFSSL_X509_STORE *store = wolfSSL_CTX_get_cert_store(wssl->ctx); in Curl_wssl_setup_x509_store()
763 result = populate_x509_store(cf, data, store, wssl); in Curl_wssl_setup_x509_store()