Home
last modified time | relevance | path

Searched refs:SSL_VERIFY_PEER (Results 1 – 25 of 54) sorted by relevance

123

/third_party/openssl/doc/man3/
DSSL_CTX_set_verify.pod61 sent by a server on the given B<ssl> connection. The SSL_VERIFY_PEER flag must
82 =item SSL_VERIFY_PEER
97 anonymous cipher is used, SSL_VERIFY_PEER is ignored.
103 This flag must be used together with SSL_VERIFY_PEER.
113 SSL_VERIFY_PEER.
124 SSL_VERIFY_PEER. TLSv1.3 only; no effect on pre-TLSv1.3 connections.
156 SSL_VERIFY_PEER flag is set. It must be supplied by the application and
175 SSL_VERIFY_PEER is set, a verification failure alert is sent to the peer and
187 alert message, if SSL_VERIFY_PEER is set.
205 In client mode, it is not checked whether the SSL_VERIFY_PEER flag
[all …]
DSSL_CTX_set_cert_verify_callback.pod35 indicate verification failure. If SSL_VERIFY_PEER is set and I<callback>
DSSL_CTX_set_ct_validation_callback.pod41 TLS handshake with the verification mode set to B<SSL_VERIFY_PEER>, if the peer
/third_party/boost/boost/asio/ssl/
Dverify_mode.hpp54 const int verify_peer = SSL_VERIFY_PEER;
Dcontext_base.hpp182 BOOST_ASIO_STATIC_CONSTANT(int, verify_peer = SSL_VERIFY_PEER);
/third_party/openssl/ssl/
Dssl_conf.c406 SSL_FLAG_VFY_CLI("Peer", SSL_VERIFY_PEER), in cmd_VerifyMode()
407 SSL_FLAG_VFY_SRV("Request", SSL_VERIFY_PEER), in cmd_VerifyMode()
409 SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT), in cmd_VerifyMode()
410 SSL_FLAG_VFY_SRV("Once", SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE), in cmd_VerifyMode()
412 SSL_VERIFY_PEER | SSL_VERIFY_POST_HANDSHAKE), in cmd_VerifyMode()
414 SSL_VERIFY_PEER | SSL_VERIFY_POST_HANDSHAKE | in cmd_VerifyMode()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_code.h31 # define SSL_VERIFY_PEER 0x01 macro
/third_party/openssl/demos/bio/
Dsconnect.c58 SSL_CTX_set_verify(ssl_ctx, SSL_VERIFY_PEER, NULL); in main()
/third_party/boringssl/src/ssl/
Dssl_test.cc1977 SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, in TEST_P()
1981 SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, in TEST_P()
2008 SSL_CTX_set_verify(server_ctx_.get(), SSL_VERIFY_PEER, nullptr); in TEST_P()
2034 SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, in TEST_P()
2037 SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, in TEST_P()
2874 SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, in TEST_P()
2877 SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, in TEST_P()
3298 client_ctx.get(), SSL_VERIFY_PEER, in TEST()
3330 client_ctx.get(), SSL_VERIFY_PEER, in TEST()
3353 client_ctx.get(), SSL_VERIFY_PEER, in TEST()
[all …]
Dhandshake.cc208 if ((!ssl->server || (config->verify_mode & SSL_VERIFY_PEER)) && in ssl_max_handshake_message_len()
/third_party/grpc/src/core/tsi/
Dssl_transport_security.cc1988 SSL_CTX_set_verify(ssl_context, SSL_VERIFY_PEER, NullVerifyCallback); in tsi_create_ssl_client_handshaker_factory_with_options()
1990 SSL_CTX_set_verify(ssl_context, SSL_VERIFY_PEER, nullptr); in tsi_create_ssl_client_handshaker_factory_with_options()
2134 SSL_CTX_set_verify(impl->ssl_contexts[i], SSL_VERIFY_PEER, in tsi_create_ssl_server_handshaker_factory_with_options()
2138 SSL_CTX_set_verify(impl->ssl_contexts[i], SSL_VERIFY_PEER, nullptr); in tsi_create_ssl_server_handshaker_factory_with_options()
2142 SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, in tsi_create_ssl_server_handshaker_factory_with_options()
2147 SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, in tsi_create_ssl_server_handshaker_factory_with_options()
/third_party/boringssl/src/tool/
Dserver.cc316 ctx.get(), SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, nullptr); in Server()
Dclient.cc500 SSL_CTX_set_verify(ctx.get(), SSL_VERIFY_PEER, nullptr); in Client()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c233 if (ssl->verify_mode == SSL_VERIFY_PEER) in ssl_pm_reload_crt()
932 if (ctx->verify_mode == SSL_VERIFY_PEER) in SSL_set_SSL_CTX()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c105 SSL_set_verify(wsi->tls.ssl, SSL_VERIFY_PEER, in lws_ssl_client_bio_create()
Dmbedtls-server.c31 int verify_options = SSL_VERIFY_PEER; in lws_tls_server_client_cert_verify_config()
/third_party/ffmpeg/libavformat/
Dtls_openssl.c278 SSL_CTX_set_verify(p->ctx, SSL_VERIFY_PEER|SSL_VERIFY_FAIL_IF_NO_PEER_CERT, NULL); in tls_open()
/third_party/boringssl/src/ssl/test/
Dfuzzer.h496 SSL_set_verify(ssl.get(), SSL_VERIFY_PEER, nullptr); in SetupTest()
Dtest_config.cc1463 mode = SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT; in NewSSL()
1466 mode = SSL_VERIFY_PEER; in NewSSL()
1471 mode = SSL_VERIFY_PEER | SSL_VERIFY_PEER_IF_NO_OBC | in NewSSL()
/third_party/curl/docs/examples/
Dcurlx.c260 SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER, ZERO_NULL); in sslctxfun()
/third_party/openssl/apps/
Ds_server.c1166 s_server_verify = SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE; in s_server_main()
1173 SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT | in s_server_main()
2524 SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE, in sv_body()
2543 SSL_set_verify(con, SSL_VERIFY_PEER, NULL); in sv_body()
3071 SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE, in www_body()
/third_party/curl/lib/vtls/
Dmesalink.c153 SSL_VERIFY_PEER : SSL_VERIFY_NONE, NULL); in mesalink_connect_step1()
/third_party/openssl/test/ossl_shim/
Dossl_shim.cc924 SSL_set_verify(ssl.get(), SSL_VERIFY_PEER|SSL_VERIFY_FAIL_IF_NO_PEER_CERT, in DoExchange()
928 SSL_set_verify(ssl.get(), SSL_VERIFY_PEER, NULL); in DoExchange()
/third_party/python/Modules/
D_ssl.c988 if (mode & SSL_VERIFY_PEER) { in newPySSLSocket()
1942 if ((verification & SSL_VERIFY_PEER) == 0) in _ssl__SSLSocket_getpeercert_impl()
3061 mode = SSL_VERIFY_PEER; in _set_verify_mode()
3064 mode = SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT; in _set_verify_mode()
3550 int mask = (SSL_VERIFY_NONE | SSL_VERIFY_PEER | in get_verify_mode()
3555 case SSL_VERIFY_PEER: in get_verify_mode()
3557 case SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT: in get_verify_mode()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c215 SSL_set_verify(wsi->tls.ssl, SSL_VERIFY_PEER, in lws_ssl_client_bio_create()

123