Disable tests that talk to Google on LibreSSL 2.5.0

They're flickering, and I'm assuming it's just because that version is
so old.
This commit is contained in:
Steven Fackler 2018-05-12 13:33:29 +01:00
parent e5d65306e7
commit 5cfbe7ac6a
2 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,7 @@
//!
//! To connect as a client to a remote server:
//!
//! ```
//! ```no_run
//! use openssl::ssl::{SslMethod, SslConnector};
//! use std::io::{Read, Write};
//! use std::net::TcpStream;

View File

@ -763,6 +763,7 @@ fn refcount_ssl_context() {
}
#[test]
#[cfg_attr(libressl250, ignore)]
fn default_verify_paths() {
let mut ctx = SslContext::builder(SslMethod::tls()).unwrap();
ctx.set_default_verify_paths().unwrap();
@ -832,6 +833,7 @@ fn verify_invalid_hostname() {
}
#[test]
#[cfg_attr(libressl250, ignore)]
fn connector_valid_hostname() {
let connector = SslConnector::builder(SslMethod::tls()).unwrap().build();
@ -856,6 +858,7 @@ fn connector_invalid_hostname() {
}
#[test]
#[cfg_attr(libressl250, ignore)]
fn connector_invalid_no_hostname_verification() {
let connector = SslConnector::builder(SslMethod::tls()).unwrap().build();
@ -1176,6 +1179,7 @@ fn idle_session() {
}
#[test]
#[cfg_attr(libressl250, ignore)]
fn active_session() {
let connector = SslConnector::builder(SslMethod::tls()).unwrap().build();