Commit 71a64af3 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Skip PSK tests for no-psk

parent 9076bd25
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -468,11 +468,19 @@ sub testssl {
		 'test tlsv1 with 1024bit RSA, 1024bit DHE, multiple handshakes');
	    }
	}
    {
        SKIP: {
	        skip "skipping PSK tests", 2
	        if ($no_psk);

	        ok(run(test([@ssltest, "-tls1", "-cipher", "PSK", "-psk", "abc123", @extra])),
	        'test tls1 with PSK');

	        ok(run(test([@ssltest, "-bio_pair", "-tls1", "-cipher", "PSK", "-psk", "abc123", @extra])),
	        'test tls1 with PSK via BIO pair');
        }
    }

    };

    subtest 'Next Protocol Negotiation Tests' => sub {