/third_party/libuv/test/ |
D | test-getsockname.c | 108 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/ |
D | x509_vpm.c | 104 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()
|
D | v3_utl.c | 834 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 …]
|
D | x509_local.h | 34 char *peername; /* Matching hostname in peer certificate */ member
|
D | x509_vfy.c | 776 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/ |
D | SSL_set1_host.pod | 69 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 */
|
D | X509_check_host.pod | 12 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
|
D | SSL_CTX_dane_enable.pod | 303 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/ |
D | test_events.py | 555 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/ |
D | s_cb.c | 1172 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/ |
D | asyncio-protocol.rst | 189 - ``'peername'``: the remote address to which the socket is 727 peername = transport.get_extra_info('peername') 728 print('Connection from {}'.format(peername))
|
D | asyncio-stream.rst | 383 addr = writer.get_extra_info('peername')
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | x509v3.h | 709 unsigned int flags, char **peername);
|
/third_party/openssl/include/openssl/ |
D | x509v3.h.in | 771 unsigned int flags, char **peername);
|
/third_party/openssl/doc/man1/ |
D | openssl-s_client.pod.in | 377 Verified peername: smtp.example.com
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_IOJS.md | 1825 * [[`30666f22ca`](https://github.com/nodejs/node/commit/30666f22ca)] - **net**: use cached peername…
|