Lines Matching refs:peer_cert
1620 …_certs(php_stream *stream, php_openssl_netstream_data_t *sslsock, X509 *peer_cert TSRMLS_DC) /* {{… in capture_peer_certs()
1630 ZVAL_RESOURCE(zcert, zend_list_insert(peer_cert, php_openssl_get_x509_list_id() TSRMLS_CC)); in capture_peer_certs()
1678 X509 *peer_cert; in php_openssl_enable_crypto() local
1757 peer_cert = SSL_get_peer_certificate(sslsock->ssl_handle); in php_openssl_enable_crypto()
1758 if (peer_cert && stream->context) { in php_openssl_enable_crypto()
1759 cert_captured = capture_peer_certs(stream, sslsock, peer_cert TSRMLS_CC); in php_openssl_enable_crypto()
1762 … if (FAILURE == apply_peer_verification_policy(sslsock->ssl_handle, peer_cert, stream TSRMLS_CC)) { in php_openssl_enable_crypto()
1786 peer_cert = SSL_get_peer_certificate(sslsock->ssl_handle); in php_openssl_enable_crypto()
1787 if (peer_cert && stream->context) { in php_openssl_enable_crypto()
1788 cert_captured = capture_peer_certs(stream, sslsock, peer_cert TSRMLS_CC); in php_openssl_enable_crypto()
1792 if (n && peer_cert && cert_captured == 0) { in php_openssl_enable_crypto()
1793 X509_free(peer_cert); in php_openssl_enable_crypto()