Home
last modified time | relevance | path

Searched refs:peername (Results 1 – 16 of 16) sorted by relevance

/third_party/libuv/test/
Dtest-getsockname.c108 struct sockaddr sockname, peername; in on_connection() local
136 namelen = sizeof peername; in on_connection()
137 r = uv_tcp_getpeername(handle, &peername, &namelen); in on_connection()
139 check_sockname(&peername, "127.0.0.1", connect_port, "accepted socket peer"); in on_connection()
148 struct sockaddr sockname, peername; in on_connect() local
159 namelen = sizeof peername; in on_connect()
160 r = uv_tcp_getpeername((uv_tcp_t*) req->handle, &peername, &namelen); in on_connect()
162 check_sockname(&peername, "127.0.0.1", server_port, "connected socket peer"); in on_connect()
171 struct sockaddr sockname, peername; in tcp_listener() local
203 r = uv_tcp_getpeername(&tcpServer, &peername, &namelen); in tcp_listener()
/third_party/openssl/crypto/x509/
Dx509_vpm.c104 OPENSSL_free(param->peername); in X509_VERIFY_PARAM_free()
408 return param->peername; in X509_VERIFY_PARAM_get0_peername()
419 char *peername = (from != NULL) ? from->peername : NULL; in X509_VERIFY_PARAM_move_peername() local
421 if (to->peername != peername) { in X509_VERIFY_PARAM_move_peername()
422 OPENSSL_free(to->peername); in X509_VERIFY_PARAM_move_peername()
423 to->peername = peername; in X509_VERIFY_PARAM_move_peername()
426 from->peername = NULL; in X509_VERIFY_PARAM_move_peername()
Dv3_utl.c834 char **peername) in do_check_string() argument
847 if (rv > 0 && peername != NULL) { in do_check_string()
848 *peername = OPENSSL_strndup((char *)a->data, a->length); in do_check_string()
849 if (*peername == NULL) in do_check_string()
864 if (rv > 0 && peername != NULL) { in do_check_string()
865 *peername = OPENSSL_strndup((char *)astr, astrlen); in do_check_string()
866 if (*peername == NULL) { in do_check_string()
877 unsigned int flags, int check_type, char **peername) in do_x509_check() argument
933 chk, chklen, peername)) != 0) in do_x509_check()
951 chk, chklen, peername)) != 0) in do_x509_check()
[all …]
Dx509_local.h34 char *peername; /* Matching hostname in peer certificate */ member
Dx509_vfy.c776 if (vpm->peername != NULL) { in check_hosts()
777 OPENSSL_free(vpm->peername); in check_hosts()
778 vpm->peername = NULL; in check_hosts()
782 if (X509_check_host(x, name, 0, vpm->hostflags, &vpm->peername) > 0) in check_hosts()
/third_party/openssl/doc/man3/
DSSL_set1_host.pod69 SSL_get0_peername() returns NULL if peername verification is not
70 applicable (as with RFC7671 DANE-EE(3)), or no trusted peername was
71 matched. Otherwise, it returns the matched peername. To determine
93 const char *peername = SSL_get0_peername(ssl);
95 if (peername != NULL)
96 /* Name checks were in scope and matched the peername */
DX509_check_host.pod12 unsigned int flags, char **peername);
44 When the certificate is matched, and B<peername> is not NULL, a
46 is stored at the address passed in B<peername>. The application
47 is responsible for freeing the peername via OPENSSL_free() when it
DSSL_CTX_dane_enable.pod303 const char *peername = SSL_get0_peername(ssl);
314 if (peername != NULL) {
315 /* Name checks were in scope and matched the peername */
316 printf("Verified peername: %s\n", peername);
/third_party/python/Lib/test/test_asyncio/
Dtest_events.py555 peername=None, peercert={}): argument
558 if peername:
559 self.assertEqual(peername,
588 peername=None): argument
593 self.check_ssl_extra_info(tr, check_sockname, peername)
599 check_sockname=True, peername=None): argument
602 peername)
621 peername)
631 peername)
643 peername=httpd.address)
[all …]
/third_party/openssl/apps/lib/
Ds_cb.c1172 const char *peername = SSL_get0_peername(s); in print_verify_detail() local
1175 if (peername != NULL) in print_verify_detail()
1176 BIO_printf(bio, "Verified peername: %s\n", peername); in print_verify_detail()
/third_party/python/Doc/library/
Dasyncio-protocol.rst189 - ``'peername'``: the remote address to which the socket is
727 peername = transport.get_extra_info('peername')
728 print('Connection from {}'.format(peername))
Dasyncio-stream.rst383 addr = writer.get_extra_info('peername')
/third_party/openssl/ohos_lite/include/openssl/
Dx509v3.h709 unsigned int flags, char **peername);
/third_party/openssl/include/openssl/
Dx509v3.h.in771 unsigned int flags, char **peername);
/third_party/openssl/doc/man1/
Dopenssl-s_client.pod.in377 Verified peername: smtp.example.com
/third_party/node/doc/changelogs/
DCHANGELOG_IOJS.md1825 * [[`30666f22ca`](https://github.com/nodejs/node/commit/30666f22ca)] - **net**: use cached peername