Commit e0c47b2c authored by Richard Levitte's avatar Richard Levitte
Browse files

Don't run NPN tests when NPN is disabled

parent 13ab8708
Loading
Loading
Loading
Loading
+31 −26
Original line number Diff line number Diff line
@@ -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