Home
last modified time | relevance | path

Searched refs:X509_V_OK (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/crypto/openssl/crypto/x509/
H A Dv3_ncons.c276 if (r != X509_V_OK) in NAME_CONSTRAINTS_check()
296 if (r != X509_V_OK) in NAME_CONSTRAINTS_check()
305 if (r != X509_V_OK) in NAME_CONSTRAINTS_check()
309 return X509_V_OK; in NAME_CONSTRAINTS_check()
400 return X509_V_OK; in cn2dnsid()
403 return X509_V_OK; in cn2dnsid()
436 if ((r = cn2dnsid(cn, &idval, &idlen)) != X509_V_OK) in NAME_CONSTRAINTS_check_CN()
445 if (r != X509_V_OK) in NAME_CONSTRAINTS_check_CN()
448 return X509_V_OK; in NAME_CONSTRAINTS_check_CN()
508 if (r == X509_V_OK) in nc_match()
[all …]
H A Dx509_cmp.c464 return X509_V_OK; in check_suite_b()
475 return X509_V_OK; in X509_chain_check_suiteb()
504 if (rv != X509_V_OK) { in X509_chain_check_suiteb()
518 if (rv != X509_V_OK) in X509_chain_check_suiteb()
525 if (rv != X509_V_OK) { in X509_chain_check_suiteb()
546 return X509_V_OK; in X509_CRL_check_suiteb()
H A Dv3_purp.c378 return X509_V_OK; in check_sig_alg_match()
557 if (X509_check_akid(x, x->akid) == X509_V_OK /* SKID matches AKID */ in ossl_x509v3_cache_extensions()
559 && check_sig_alg_match(X509_get0_pubkey(x), x) == X509_V_OK) in ossl_x509v3_cache_extensions()
909 if ((ret = ossl_x509_likely_issued(issuer, subject)) != X509_V_OK) in X509_check_issued()
929 if (ret != X509_V_OK) in ossl_x509_likely_issued()
950 return X509_V_OK; in ossl_x509_signing_allowed()
956 return X509_V_OK; in X509_check_akid()
988 return X509_V_OK; in X509_check_akid()
H A Dx509_vfy.c161 if (err != X509_V_OK) in verify_cb_cert()
226 CB_FAIL_IF(err != X509_V_OK, ctx, NULL, ctx->error_depth, err); in verify_chain()
302 if (ret <= 0 && ctx->error == X509_V_OK) in X509_verify_cert()
348 if (err == X509_V_OK) in check_issued()
670 int err = X509_V_OK; in check_name_constraints()
723 CB_FAIL_IF(err != X509_V_OK, ctx, x, i, err); in check_name_constraints()
740 if (rv == X509_V_OK && i == 0 in check_name_constraints()
751 case X509_V_OK: in check_name_constraints()
1274 if (X509_check_akid(crl_issuer, crl->akid) == X509_V_OK) { in crl_akid_check()
1286 if (X509_check_akid(crl_issuer, crl->akid) == X509_V_OK) { in crl_akid_check()
[all …]
H A Dx509_txt.c24 case X509_V_OK: in X509_verify_cert_error_string()
H A Dt_x509.c408 if (X509_check_issued((X509 *)cert, cert) == X509_V_OK) { in ossl_x509_print_ex_brief()
/freebsd/crypto/openssl/test/
H A Dcrltest.c285 status = X509_verify_cert(ctx) == 1 ? X509_V_OK in verify()
324 X509_V_FLAG_CRL_CHECK), X509_V_OK) in test_basic_crl()
362 X509_V_FLAG_CRL_CHECK), X509_V_OK); in test_known_critical_crl()
H A Ddanetest.c354 SSL_set_verify_result(ssl, X509_V_OK); in test_tlsafile()
361 if (want == X509_V_OK) in test_tlsafile()
/freebsd/usr.sbin/rpc.tlsclntd/
H A Drpc.tlsclntd.c613 if (verfret == X509_V_OK && (rpctls_verify_cafile != NULL || in rpctls_connect()
617 if (verfret != X509_V_OK && (rpctls_verify_cafile != NULL || in rpctls_connect()
619 if (verfret != X509_V_OK) { in rpctls_connect()
659 if (ret == X509_V_OK && (rpctls_verify_cafile != NULL || in rpctls_connect()
/freebsd/crypto/openssl/doc/man3/
H A DSSL_get_verify_result.pod38 X509_V_OK. This is because no verification error occurred, it does however
48 =item X509_V_OK
H A DX509_check_issued.pod29 X509_check_issued() returns B<X509_V_OK> if all checks are successful
H A DSSL_get_peer_cert_chain.pod32 X509_V_OK) the chain may be incomplete or invalid.
H A DX509_STORE_CTX_get_error.pod36 It may return a code != X509_V_OK even if X509_verify_cert() did not indicate
84 X509_STORE_CTX_get_error() returns B<X509_V_OK> or an error code.
102 =item B<X509_V_OK: ok>
H A DX509_verify_cert.pod79 X509_V_OK, likely because a verification callback function has waived the error.
H A DSSL_set1_host.pod92 if (SSL_get_verify_result(ssl) == X509_V_OK) {
H A DX509_STORE_CTX_set_verify_cb.pod188 if (err == X509_V_OK && ok == 2)
H A DSSL_CTX_set_ct_validation_callback.pod46 was B<X509_V_OK> it will be set to B<X509_V_ERR_NO_VALID_SCTS> after the
H A DSSL_CTX_dane_enable.pod291 if (SSL_get_verify_result(ssl) == X509_V_OK) {
302 } else if (SSL_get_verify_result(ssl) == X509_V_OK) {
/freebsd/crypto/openssl/apps/
H A Dverify.c292 if (i > 0 && X509_STORE_CTX_get_error(csc) == X509_V_OK) { in check()
388 if (cert_error == X509_V_OK && ok == 2) in cb()
H A Ds_time.c447 if (verify_args.error != X509_V_OK) in doConnection()
H A Dsmime.c710 && ((error != X509_V_OK) || (ok != 2))) in smime_cb()
/freebsd/usr.sbin/rpc.tlsservd/
H A Drpc.tlsservd.c768 if (verfret != X509_V_OK) { in rpctls_server()
792 else if (verfret == X509_V_OK) { in rpctls_server()
/freebsd/crypto/openssl/apps/lib/
H A Ds_cb.c29 VERIFY_CB_ARGS verify_args = { -1, 0, X509_V_OK, 0 };
107 if (err == X509_V_OK && ok == 2 && !verify_args.quiet) in verify_callback()
1192 if (verify_err == X509_V_OK) { in print_verify_detail()
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_vfy.c232 int self_issued = X509_check_issued(cert, cert) == X509_V_OK; in cert_acceptable()
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_lib.c1398 {X509_V_OK, SSL_AD_CERTIFICATE_UNKNOWN}
1405 for (tp = x509table; tp->x509err != X509_V_OK; ++tp) in ssl_x509err2alert()

12