• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/wpa/src/crypto/

Lines Matching refs:store

324 	X509_STORE *store;
326 store = X509_STORE_new();
327 if (!store) {
329 "OpenSSL: %s - failed to allocate new certificate store",
334 if (ca_cert && X509_STORE_load_locations(store, ca_cert, NULL) != 1) {
337 X509_STORE_free(store);
345 X509_STORE_set_flags(store, flags);
347 return store;
507 static const CERT_CONTEXT * cryptoapi_find_cert(const char *name, DWORD store)
513 store | CERT_STORE_OPEN_EXISTING_FLAG |
516 cryptoapi_error("Failed to open 'My system store'");
660 const char *store;
668 store = name + 13;
670 wstore = os_malloc((os_strlen(store) + 1) * sizeof(WCHAR));
673 wsprintf(wstore, L"%S", store);
677 cs = CertOpenSystemStore(0, store);
680 wpa_printf(MSG_DEBUG, "%s: failed to open system cert store "
681 "'%s': error=%d", __func__, store,
699 "system certificate store: subject='%s'", buf);
705 "certificate store");
712 wpa_printf(MSG_DEBUG, "%s: failed to close system cert store "
1540 /* Replace X509 store if it is time to update CRL. */
1545 "OpenSSL: Flushing X509 store with ca_cert file");
1550 "OpenSSL: Error replacing X509 store with ca_cert file");
1552 /* Replace old store */
2560 "Failed add lookup for X509 store");
2588 X509_STORE *store;
2594 store = X509_STORE_new();
2595 if (store == NULL) {
2597 "certificate store", __func__);
2600 SSL_CTX_set_cert_store(ssl_ctx, store);
2672 "certificate store");
2686 "to certificate store", __func__);
2734 "system certificate store");
2810 "certificate store when enabling "
3560 X509_STORE *store;
3566 store = X509_STORE_new();
3567 if (store == NULL) {
3569 "certificate store", __func__);
3573 SSL_CTX_set_cert_store(ssl_ctx, store);
3574 if (!X509_STORE_add_cert(store, cert)) {
3578 "to certificate store");
3591 "to certificate store", __func__);
3753 "access certificate store --> OK");
4703 X509_STORE *store;
4735 store = SSL_CTX_get_cert_store(conn->ssl_ctx);
4739 if (X509_STORE_add_cert(store, conn->peer_issuer) != 1) {
4741 "OpenSSL: Could not add issuer to certificate store");
4750 "OpenSSL: Could not add issuer to OCSP responder trust store");
4760 "OpenSSL: Could not add issuer's issuer to OCSP responder trust store");
4767 status = OCSP_basic_verify(basic, certs, store, OCSP_TRUSTOTHER);
5478 wpa_printf(MSG_INFO, "OpenSSL: Failed to store success data");