Tests: skip ALPN rejection tests with OpenSSL < 1.1.0.
diff --git a/h2_ssl.t b/h2_ssl.t
index 7363323..b8ecf9e 100644
--- a/h2_ssl.t
+++ b/h2_ssl.t
@@ -96,6 +96,8 @@
 SKIP: {
 $t->{_configure_args} =~ /LibreSSL ([\d\.]+)/;
 skip 'LibreSSL too old', 1 if defined $1 and $1 lt '3.4.0';
+$t->{_configure_args} =~ /OpenSSL ([\d\.]+)/;
+skip 'OpenSSL too old', 1 if defined $1 and $1 lt '1.1.0';
 
 TODO: {
 local $TODO = 'not yet' unless $t->has_version('1.21.4');
diff --git a/mail_ssl.t b/mail_ssl.t
index c789b31..6cdc573 100644
--- a/mail_ssl.t
+++ b/mail_ssl.t
@@ -220,6 +220,8 @@
 SKIP: {
 $t->{_configure_args} =~ /LibreSSL ([\d\.]+)/;
 skip 'LibreSSL too old', 1 if defined $1 and $1 lt '3.4.0';
+$t->{_configure_args} =~ /OpenSSL ([\d\.]+)/;
+skip 'OpenSSL too old', 1 if defined $1 and $1 lt '1.1.0';
 
 TODO: {
 local $TODO = 'not yet' unless $t->has_version('1.21.4');
diff --git a/stream_ssl_alpn.t b/stream_ssl_alpn.t
index 4c9d48f..e6d12c8 100644
--- a/stream_ssl_alpn.t
+++ b/stream_ssl_alpn.t
@@ -90,6 +90,8 @@
 SKIP: {
 $t->{_configure_args} =~ /LibreSSL ([\d\.]+)/;
 skip 'LibreSSL too old', 2 if defined $1 and $1 lt '3.4.0';
+$t->{_configure_args} =~ /OpenSSL ([\d\.]+)/;
+skip 'OpenSSL too old', 2 if defined $1 and $1 lt '1.1.0';
 
 ok(!get_ssl('wrong'), 'alpn mismatch');