Home
last modified time | relevance | path

Searched refs:verify_result (Results 1 – 25 of 31) sorted by relevance

12

/third_party/openssl/doc/man3/
DSSL_set_verify_result.pod11 void SSL_set_verify_result(SSL *ssl, long verify_result);
15 SSL_set_verify_result() sets B<verify_result> of the object B<ssl> to be the
26 The valid codes for B<verify_result> are documented in L<verify(1)>.
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c772 long verify_result; in ssl_pm_get_verify_result() local
781 verify_result = X509_V_ERR_INVALID_CA; in ssl_pm_get_verify_result()
784 verify_result = X509_V_ERR_HOSTNAME_MISMATCH; in ssl_pm_get_verify_result()
788 verify_result = X509_V_ERR_CA_KEY_TOO_SMALL; in ssl_pm_get_verify_result()
792 verify_result = X509_V_ERR_CA_MD_TOO_WEAK; in ssl_pm_get_verify_result()
796 verify_result = X509_V_ERR_CERT_NOT_YET_VALID; in ssl_pm_get_verify_result()
800 verify_result = X509_V_ERR_CERT_HAS_EXPIRED; in ssl_pm_get_verify_result()
803 verify_result = X509_V_ERR_UNSPECIFIED; in ssl_pm_get_verify_result()
808 return verify_result; in ssl_pm_get_verify_result()
/third_party/openssl/ssl/
Dssl_asn1.c29 int32_t verify_result; member
59 ASN1_EXP_OPT_EMBED(SSL_SESSION_ASN1, verify_result, ZINT32, 5),
164 as.verify_result = in->verify_result; in i2d_SSL_SESSION()
317 ret->verify_result = as->verify_result; in d2i_SSL_SESSION()
Dssl_txt.c145 if (BIO_printf(bp, "%ld (%s)\n", x->verify_result, in SSL_SESSION_print()
146 X509_verify_cert_error_string(x->verify_result)) <= 0) in SSL_SESSION_print()
Dssl_sess.c78 ss->verify_result = 1; /* avoid 0 (= X509_V_OK) just in case */ in SSL_SESSION_new()
410 ss->verify_result = X509_V_OK; in ssl_get_new_session()
613 s->verify_result = s->session->verify_result; in ssl_get_prev_session()
802 s->verify_result = session->verify_result; in SSL_set_session()
Dssl_lib.c816 s->verify_result = X509_V_OK; in SSL_new()
1071 if (!DANETLS_ENABLED(dane) || s->verify_result != X509_V_OK) in SSL_get0_dane_authority()
1087 if (!DANETLS_ENABLED(dane) || s->verify_result != X509_V_OK) in SSL_get0_dane_tlsa()
4158 ssl->verify_result = arg; in SSL_set_verify_result()
4163 return ssl->verify_result; in SSL_get_verify_result()
4933 s->verify_result != X509_V_OK || in ssl_validate_ct()
5010 s->verify_result = X509_V_ERR_NO_VALID_SCTS; in ssl_validate_ct()
Dssl_cert.c429 s->verify_result = X509_STORE_CTX_get_error(ctx); in ssl_verify_cert_chain()
Dssl_local.h546 long verify_result; /* only for servers */ member
1225 long verify_result; member
/third_party/boringssl/src/ssl/
Dhandshake.cc330 hs->new_session->verify_result = prev_session->verify_result; in ssl_verify_peer_cert()
340 hs->new_session->verify_result = X509_V_OK; in ssl_verify_peer_cert()
348 hs->new_session->verify_result = X509_V_ERR_APPLICATION_VERIFICATION; in ssl_verify_peer_cert()
Dssl_asn1.cc238 if (in->verify_result != X509_V_OK) { in SSL_SESSION_to_bytes_full()
240 !CBB_add_asn1_uint64(&child, in->verify_result)) { in SSL_SESSION_to_bytes_full()
591 !SSL_SESSION_parse_long(&session, &ret->verify_result, kVerifyResultTag, in SSL_SESSION_parse()
Dssl_session.cc232 new_session->verify_result = session->verify_result; in SSL_SESSION_dup()
403 session->verify_result = X509_V_ERR_INVALID_CALL; in ssl_get_new_session()
Dssl_x509.cc406 session->verify_result = ctx->error; in ssl_crypto_x509_session_verify_cert_chain()
714 return session->verify_result; in SSL_get_verify_result()
Dtls13_both.cc331 hs->new_session->verify_result = X509_V_OK; in tls13_process_certificate()
Dhandshake_server.cc807 hs->new_session->verify_result = X509_V_OK; in do_select_parameters()
1175 hs->new_session->verify_result = X509_V_OK; in do_read_client_certificate()
Dtls13_server.cc852 hs->new_session->verify_result = X509_V_OK; in do_read_client_certificate()
/third_party/uboot/u-boot-2020.01/lib/libavb/
Davb_slot_verify.h160 AvbVBMetaVerifyResult verify_result; member
/third_party/mbedtls/library/
Dssl_cache.c122 session->verify_result = entry->session.verify_result; in mbedtls_ssl_cache_get()
Dssl_tls.c5581 ssl->session_negotiate->verify_result = MBEDTLS_X509_BADCERT_MISSING; in ssl_parse_certificate_chain()
5602 ssl->session_negotiate->verify_result = MBEDTLS_X509_BADCERT_MISSING; in ssl_parse_certificate_chain()
5794 ssl->session_negotiate->verify_result = MBEDTLS_X509_BADCERT_SKIP_VERIFY; in mbedtls_ssl_parse_certificate()
5867 &ssl->session_negotiate->verify_result, in mbedtls_ssl_parse_certificate()
5892 ssl->session_negotiate->verify_result |= MBEDTLS_X509_BADCERT_BAD_KEY; in mbedtls_ssl_parse_certificate()
5904 &ssl->session_negotiate->verify_result ) != 0 ) in mbedtls_ssl_parse_certificate()
5937 if( ssl->session_negotiate->verify_result & MBEDTLS_X509_BADCERT_OTHER ) in mbedtls_ssl_parse_certificate()
5939 else if( ssl->session_negotiate->verify_result & MBEDTLS_X509_BADCERT_CN_MISMATCH ) in mbedtls_ssl_parse_certificate()
5941 else if( ssl->session_negotiate->verify_result & MBEDTLS_X509_BADCERT_KEY_USAGE ) in mbedtls_ssl_parse_certificate()
5943 else if( ssl->session_negotiate->verify_result & MBEDTLS_X509_BADCERT_EXT_KEY_USAGE ) in mbedtls_ssl_parse_certificate()
[all …]
/third_party/glib/gio/
Dgtlsdatabase.c149 GTlsCertificateFlags verify_result; in async_verify_chain_thread() local
152 verify_result = g_tls_database_verify_chain (G_TLS_DATABASE (object), in async_verify_chain_thread()
163 g_task_return_int (task, (gssize)verify_result); in async_verify_chain_thread()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_types.h231 long verify_result; member
/third_party/node/src/
Dnode_crypto.cc4912 bool* verify_result) { in VerifyFinal() argument
4918 *verify_result = false; in VerifyFinal()
4932 *verify_result = r == 1; in VerifyFinal()
4975 bool verify_result; in VerifyFinal() local
4977 salt_len, &verify_result); in VerifyFinal()
4980 args.GetReturnValue().Set(verify_result); in VerifyFinal()
5039 bool verify_result; in VerifyOneShot() local
5048 verify_result = true; in VerifyOneShot()
5051 verify_result = false; in VerifyOneShot()
5057 args.GetReturnValue().Set(verify_result); in VerifyOneShot()
[all …]
/third_party/openssl/apps/
Ds_client.c3178 long verify_result; in print_stuff() local
3356 verify_result = SSL_get_verify_result(s); in print_stuff()
3357 BIO_printf(bio, "Verify return code: %ld (%s)\n", verify_result, in print_stuff()
3358 X509_verify_cert_error_string(verify_result)); in print_stuff()
/third_party/mbedtls/include/mbedtls/
Dssl.h832 uint32_t verify_result; /*!< verification result */ member
/third_party/openssl/ssl/statem/
Dstatem_srvr.c1950 s->session->verify_result = X509_V_OK; in tls_early_post_process_client_hello()
3711 SSLfatal(s, ssl_x509err2alert(s->verify_result), in tls_process_client_certificate()
3752 s->session->verify_result = s->verify_result; in tls_process_client_certificate()
Dstatem_clnt.c1913 SSLfatal(s, ssl_x509err2alert(s->verify_result), in tls_process_server_certificate()
1967 s->session->verify_result = s->verify_result; in tls_process_server_certificate()

12