Commit 928933f9 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix no-dh builds



One of the new tests uses a DH based ciphersuite. That test should be
disabled if DH is disabled.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2217)
parent e3bc1305
Loading
Loading
Loading
Loading
+13 −8
Original line number Diff line number Diff line
@@ -93,7 +93,11 @@ SKIP: {
    $proxy->start();
    ok(TLSProxy::Message->fail, "Corrupt <=TLSv1.2 CertVerify");

    #Test 4: Corrupting a ServerKeyExchange signature in <=TLSv1.2 should fail
    SKIP: {
        skip "DH disabled", 1 if disabled("dh");

        #Test 4: Corrupting a ServerKeyExchange signature in <=TLSv1.2 should
        #fail
        $proxy->clear();
        $testtype = CORRUPT_TLS1_2_SERVER_KEY_EXCHANGE;
        $proxy->clientflags("-no_tls1_3");
@@ -102,6 +106,7 @@ SKIP: {
        $proxy->start();
        ok(TLSProxy::Message->fail, "Corrupt <=TLSv1.2 ServerKeyExchange");
    }
}

sub signature_filter
{