Home
last modified time | relevance | path

Searched refs:X509Store (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/CryptoPkg/Library/TlsLib/
DTlsInit.c199 X509_STORE *X509Store; in TlsNew() local
272 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()
DTlsConfig.c420 X509_STORE *X509Store; in TlsSetCaCertificate() local
429 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()