Lines Matching refs:peer_cert
1851 php_openssl_netstream_data_t *sslsock, X509 *peer_cert) /* {{{ */ in php_openssl_capture_peer_certs() argument
1863 cert_object->x509 = peer_cert; in php_openssl_capture_peer_certs()
1911 X509 *peer_cert; in php_openssl_enable_crypto() local
1991 peer_cert = SSL_get_peer_certificate(sslsock->ssl_handle); in php_openssl_enable_crypto()
1992 if (peer_cert && PHP_STREAM_CONTEXT(stream)) { in php_openssl_enable_crypto()
1993 cert_captured = php_openssl_capture_peer_certs(stream, sslsock, peer_cert); in php_openssl_enable_crypto()
1996 …if (FAILURE == php_openssl_apply_peer_verification_policy(sslsock->ssl_handle, peer_cert, stream))… in php_openssl_enable_crypto()
2007 peer_cert = SSL_get_peer_certificate(sslsock->ssl_handle); in php_openssl_enable_crypto()
2008 if (peer_cert && PHP_STREAM_CONTEXT(stream)) { in php_openssl_enable_crypto()
2009 cert_captured = php_openssl_capture_peer_certs(stream, sslsock, peer_cert); in php_openssl_enable_crypto()
2013 if (n && peer_cert && cert_captured == 0) { in php_openssl_enable_crypto()
2014 X509_free(peer_cert); in php_openssl_enable_crypto()