Lines Matching defs:peer
760 BIO_ADDR *lpeer = NULL, *peer = NULL;
773 lpeer = peer = BIO_ADDR_new();
774 if (peer == NULL) {
779 /* Read peer information */
780 (void)BIO_dgram_get_peer(SSL_get_rbio(ssl), peer);
782 peer = ourpeer;
785 /* Create buffer with peer's address and port */
786 if (!BIO_ADDR_rawaddress(peer, NULL, &length)) {
787 BIO_printf(bio_err, "Failed getting peer address\n");
792 port = BIO_ADDR_rawport(peer);
797 BIO_ADDR_rawaddress(peer, buffer + sizeof(port), NULL);
1216 X509 *peer;
1223 peer = SSL_get0_peer_certificate(s);
1224 if (peer != NULL) {
1228 X509_NAME_print_ex(bio_err, X509_get_subject_name(peer),
1237 BIO_puts(bio_err, "No peer certificate\n");