Commit 327d38d0 authored by Richard Levitte's avatar Richard Levitte
Browse files

Don't test SRP when it's disabled

parent e0c47b2c
Loading
Loading
Loading
Loading
+17 −12
Original line number Diff line number Diff line
@@ -363,11 +363,15 @@ SKIP: {
                   "NPN handshake test");
}

SKIP: {
    skip "No SRP support in this OpenSSL build", 1
        if disabled("srp");

    #Test 20: SRP extension
#Note: We are not actually going to perform an SRP handshake (TLSProxy does not
#support it). However it is sufficient for us to check that the SRP extension
#gets added on the client side. There is no SRP extension generated on the
#server side anyway.
    #Note: We are not actually going to perform an SRP handshake (TLSProxy
    #does not support it). However it is sufficient for us to check that the
    #SRP extension gets added on the client side. There is no SRP extension
    #generated on the server side anyway.
    $proxy->clear();
    $proxy->clientflags("-no_tls1_3 -srpuser user -srppass pass:pass");
    $proxy->start();
@@ -375,6 +379,7 @@ checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
                   checkhandshake::DEFAULT_EXTENSIONS
                   | checkhandshake::SRP_CLI_EXTENSION,
                   "SRP extension test");
}

#Test 21: EC handshake
SKIP: {