Home | History | Annotate | Download | only in crypto

Lines Matching refs:ca_cert

636 					"Failed to add ca_cert to OpenSSL "
1962 static int tls_load_ca_der(struct tls_data *data, const char *ca_cert)
1976 if (!X509_LOOKUP_load_file(lookup, ca_cert, X509_FILETYPE_ASN1)) {
1996 const char *ca_cert, const u8 *ca_cert_blob,
2017 if (ca_cert && os_strncmp(ca_cert, "probe://", 8) == 0) {
2025 if (ca_cert && os_strncmp(ca_cert, "hash://", 7) == 0) {
2027 const char *pos = ca_cert + 7;
2029 wpa_printf(MSG_DEBUG, "OpenSSL: Unsupported ca_cert "
2030 "hash value '%s'", ca_cert);
2036 "hash length in ca_cert '%s'", ca_cert);
2041 "value in ca_cert '%s'", ca_cert);
2090 if (ca_cert && os_strncmp("keystore://", ca_cert, 11) == 0) {
2092 &ca_cert[11]) < 0)
2099 if (ca_cert && os_strncmp("keystores://", ca_cert, 12) == 0) {
2100 char *aliases = os_strdup(&ca_cert[12]);
2113 "OpenSSL: %s - Failed to add ca_cert %s from keystore",
2129 if (ca_cert && tls_cryptoapi_ca_cert(ssl_ctx, conn->ssl, ca_cert) ==
2137 if (ca_cert || ca_path) {
2139 if (SSL_CTX_load_verify_locations(ssl_ctx, ca_cert, ca_path) !=
2143 if (ca_cert &&
2144 tls_load_ca_der(data, ca_cert) == 0) {
2161 /* No ca_cert configured - do not try to verify server
2170 static int tls_global_ca_cert(struct tls_data *data, const char *ca_cert)
2174 if (ca_cert) {
2175 if (SSL_CTX_load_verify_locations(ssl_ctx, ca_cert, NULL) != 1)
2188 SSL_load_client_CA_file(ca_cert));
3985 if (!ca_cert_id && params->ca_cert && can_pkcs11 &&
3986 os_strncmp(params->ca_cert, "pkcs11:", 7) == 0) {
3988 ca_cert_id = params->ca_cert;
4031 } else if (tls_connection_ca_cert(data, conn, params->ca_cert,
4120 if (tls_global_ca_cert(data, params->ca_cert) ||