Don't run NPN tests when NPN is disabled
@@ -329,6 +329,10 @@ SKIP: {
}
+SKIP: {
+ skip "No NPN support in this OpenSSL build", 3
+ if disabled("nextprotoneg");
+
#Test 17: NPN handshake (client request only)
$proxy->clear();
$proxy->clientflags("-no_tls1_3 -nextprotoneg test");
@@ -357,6 +361,7 @@ checkhandshake($proxy, checkhandshake::NPN_HANDSHAKE,
| checkhandshake::NPN_CLI_EXTENSION
| checkhandshake::NPN_SRV_EXTENSION,
"NPN handshake test");
+}
#Test 20: SRP extension
#Note: We are not actually going to perform an SRP handshake (TLSProxy does not
