Home
last modified time | relevance | path

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

12

/third_party/mbedtls/library/
Dssl_tls13_generic.c579 uint32_t verify_result = 0; in ssl_tls13_validate_certificate() local
610 ssl->session_negotiate->verify_result = MBEDTLS_X509_BADCERT_MISSING; in ssl_tls13_validate_certificate()
649 &verify_result, in ssl_tls13_validate_certificate()
701 if (verify_result & MBEDTLS_X509_BADCERT_OTHER) { in ssl_tls13_validate_certificate()
703 } else if (verify_result & MBEDTLS_X509_BADCERT_CN_MISMATCH) { in ssl_tls13_validate_certificate()
705 } else if (verify_result & (MBEDTLS_X509_BADCERT_KEY_USAGE | in ssl_tls13_validate_certificate()
711 } else if (verify_result & MBEDTLS_X509_BADCERT_EXPIRED) { in ssl_tls13_validate_certificate()
713 } else if (verify_result & MBEDTLS_X509_BADCERT_REVOKED) { in ssl_tls13_validate_certificate()
715 } else if (verify_result & MBEDTLS_X509_BADCERT_NOT_TRUSTED) { in ssl_tls13_validate_certificate()
723 if (verify_result != 0) { in ssl_tls13_validate_certificate()
[all …]
Dssl_tls.c3275 return ssl->session->verify_result; in mbedtls_ssl_get_verify_result()
3279 return ssl->session_negotiate->verify_result; in mbedtls_ssl_get_verify_result()
7290 ssl->session_negotiate->verify_result = in ssl_parse_certificate_coordinate()
7345 &ssl->session_negotiate->verify_result, in ssl_parse_certificate_verify()
7373 &ssl->session_negotiate->verify_result, in ssl_parse_certificate_verify()
7409 ssl->session_negotiate->verify_result |= in ssl_parse_certificate_verify()
7424 &ssl->session_negotiate->verify_result) != 0) { in ssl_parse_certificate_verify()
7454 if (ssl->session_negotiate->verify_result & MBEDTLS_X509_BADCERT_OTHER) { in ssl_parse_certificate_verify()
7456 } else if (ssl->session_negotiate->verify_result & MBEDTLS_X509_BADCERT_CN_MISMATCH) { in ssl_parse_certificate_verify()
7458 } else if (ssl->session_negotiate->verify_result & MBEDTLS_X509_BADCERT_KEY_USAGE) { in ssl_parse_certificate_verify()
[all …]
/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<openssl-verify(1)>.
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c810 long verify_result; in ssl_pm_get_verify_result() local
819 verify_result = X509_V_ERR_INVALID_CA; in ssl_pm_get_verify_result()
822 verify_result = X509_V_ERR_HOSTNAME_MISMATCH; in ssl_pm_get_verify_result()
826 verify_result = X509_V_ERR_CA_KEY_TOO_SMALL; in ssl_pm_get_verify_result()
830 verify_result = X509_V_ERR_CA_MD_TOO_WEAK; in ssl_pm_get_verify_result()
834 verify_result = X509_V_ERR_CERT_NOT_YET_VALID; in ssl_pm_get_verify_result()
838 verify_result = X509_V_ERR_CERT_HAS_EXPIRED; in ssl_pm_get_verify_result()
841 verify_result = X509_V_ERR_UNSPECIFIED; in ssl_pm_get_verify_result()
846 return verify_result; in ssl_pm_get_verify_result()
/third_party/openssl/ssl/
Dssl_asn1.c29 int32_t verify_result; member
60 ASN1_EXP_OPT_EMBED(SSL_SESSION_ASN1, verify_result, ZINT32, 5),
168 as.verify_result = in->verify_result; in i2d_SSL_SESSION()
324 ret->verify_result = as->verify_result; in d2i_SSL_SESSION()
Dssl_txt.c144 if (BIO_printf(bp, "%ld (%s)\n", x->verify_result, in SSL_SESSION_print()
145 X509_verify_cert_error_string(x->verify_result)) <= 0) in SSL_SESSION_print()
Dssl_sess.c135 ss->verify_result = 1; /* avoid 0 (= X509_V_OK) just in case */ in SSL_SESSION_new()
488 ss->verify_result = X509_V_OK; in ssl_get_new_session()
697 s->verify_result = s->session->verify_result; in ssl_get_prev_session()
897 s->verify_result = session->verify_result; in SSL_set_session()
Dssl_lib.c809 s->verify_result = X509_V_OK; in SSL_new()
1097 if (!DANETLS_ENABLED(dane) || s->verify_result != X509_V_OK) in SSL_get0_dane_authority()
1113 if (!DANETLS_ENABLED(dane) || s->verify_result != X509_V_OK) in SSL_get0_dane_tlsa()
4471 ssl->verify_result = arg; in SSL_set_verify_result()
4476 return ssl->verify_result; in SSL_get_verify_result()
5225 s->verify_result != X509_V_OK || in ssl_validate_ct()
5299 s->verify_result = X509_V_ERR_NO_VALID_SCTS; in ssl_validate_ct()
/third_party/node/deps/openssl/openssl/ssl/
Dssl_asn1.c29 int32_t verify_result; member
60 ASN1_EXP_OPT_EMBED(SSL_SESSION_ASN1, verify_result, ZINT32, 5),
168 as.verify_result = in->verify_result; in i2d_SSL_SESSION()
324 ret->verify_result = as->verify_result; in d2i_SSL_SESSION()
Dssl_txt.c144 if (BIO_printf(bp, "%ld (%s)\n", x->verify_result, in SSL_SESSION_print()
145 X509_verify_cert_error_string(x->verify_result)) <= 0) in SSL_SESSION_print()
Dssl_sess.c135 ss->verify_result = 1; /* avoid 0 (= X509_V_OK) just in case */ in SSL_SESSION_new()
475 ss->verify_result = X509_V_OK; in ssl_get_new_session()
678 s->verify_result = s->session->verify_result; in ssl_get_prev_session()
878 s->verify_result = session->verify_result; in SSL_set_session()
Dssl_lib.c873 s->verify_result = X509_V_OK; in SSL_new()
1165 if (!DANETLS_ENABLED(dane) || s->verify_result != X509_V_OK) in SSL_get0_dane_authority()
1181 if (!DANETLS_ENABLED(dane) || s->verify_result != X509_V_OK) in SSL_get0_dane_tlsa()
4594 ssl->verify_result = arg; in SSL_set_verify_result()
4599 return ssl->verify_result; in SSL_get_verify_result()
5349 s->verify_result != X509_V_OK || in ssl_validate_ct()
5423 s->verify_result = X509_V_ERR_NO_VALID_SCTS; in ssl_validate_ct()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Derror.rs164 let verify = s.ssl().verify_result(); in fmt()
171 let verify = s.ssl().verify_result(); in fmt()
/third_party/node/src/crypto/
Dcrypto_sig.cc511 bool* verify_result) { in VerifyFinal() argument
517 *verify_result = false; in VerifyFinal()
531 *verify_result = r == 1; in VerifyFinal()
577 bool verify_result; in VerifyFinal() local
579 salt_len, &verify_result); in VerifyFinal()
582 args.GetReturnValue().Set(verify_result); in VerifyFinal()
Dcrypto_sig.h89 bool* verify_result);
/third_party/mbedtls/programs/ssl/
Dssl_context_info.c531 uint32_t verify_result, ticket_lifetime; in print_deserialized_ssl_session() local
603 verify_result = ((uint32_t) ssl[0] << 24) | in print_deserialized_ssl_session()
608 printf("\tverify result : 0x%08X\n", verify_result); in print_deserialized_ssl_session()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_types.h241 long verify_result; member
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dtypes.rs497 verify_result: c_long,
568 verify_result: c_long,
676 verify_result: c_long,
Dssl.rs20 verify_result: c_long,
46 verify_result: c_long,
88 verify_result: c_long,
/third_party/node/deps/openssl/openssl/apps/
Ds_client.c3137 long verify_result; in print_stuff() local
3332 verify_result = SSL_get_verify_result(s); in print_stuff()
3333 BIO_printf(bio, "Verify return code: %ld (%s)\n", verify_result, in print_stuff()
3334 X509_verify_cert_error_string(verify_result)); in print_stuff()
/third_party/openssl/apps/
Ds_client.c3137 long verify_result; in print_stuff() local
3332 verify_result = SSL_get_verify_result(s); in print_stuff()
3333 BIO_printf(bio, "Verify return code: %ld (%s)\n", verify_result, in print_stuff()
3334 X509_verify_cert_error_string(verify_result)); in print_stuff()
/third_party/node/deps/openssl/openssl/ssl/statem/
Dstatem_srvr.c1924 s->session->verify_result = X509_V_OK; in tls_early_post_process_client_hello()
3543 SSLfatal(s, ssl_x509err2alert(s->verify_result), in tls_process_client_certificate()
3575 s->session->verify_result = s->verify_result; in tls_process_client_certificate()
Dstatem_clnt.c1897 SSLfatal(s, ssl_x509err2alert(s->verify_result), in tls_post_process_server_certificate()
1936 s->session->verify_result = s->verify_result; in tls_post_process_server_certificate()
/third_party/openssl/ssl/statem/
Dstatem_srvr.c1904 s->session->verify_result = X509_V_OK; in tls_early_post_process_client_hello()
3522 SSLfatal(s, ssl_x509err2alert(s->verify_result), in tls_process_client_certificate()
3554 s->session->verify_result = s->verify_result; in tls_process_client_certificate()
Dstatem_clnt.c1889 SSLfatal(s, ssl_x509err2alert(s->verify_result), in tls_post_process_server_certificate()
1928 s->session->verify_result = s->verify_result; in tls_post_process_server_certificate()

12