Searched refs:X509Store (Results 1 – 2 of 2) sorted by relevance
199 X509_STORE *X509Store; in TlsNew() local272 X509Store = SSL_CTX_get_cert_store (SslCtx); in TlsNew()273 if (X509Store == NULL) { in TlsNew()274 X509Store = X509_STORE_new (); in TlsNew()275 if (X509Store == NULL) { in TlsNew()279 SSL_CTX_set1_verify_cert_store (SslCtx, X509Store); in TlsNew()280 X509_STORE_free (X509Store); in TlsNew()287 X509Store, in TlsNew()
420 X509_STORE *X509Store; in TlsSetCaCertificate() local429 X509Store = NULL; in TlsSetCaCertificate()466 X509Store = SSL_CTX_get_cert_store (SslCtx); in TlsSetCaCertificate()467 if (X509Store == NULL) { in TlsSetCaCertificate()475 Ret = X509_STORE_add_cert (X509Store, Cert); in TlsSetCaCertificate()