# HG changeset patch # User Sergey Kandaurov # Date 1542640477 -10800 # Node ID de181159f279d889b88101036131ebcfeaf43578 # Parent 9242811bf22b7260736a0ceb55d6ca50e59fd84f Tests: unbreak $ssl_ciphers test with BoringSSL. SSL_get_shared_ciphers() is a stub there. diff --git a/ssl.t b/ssl.t --- a/ssl.t +++ b/ssl.t @@ -247,7 +247,8 @@ like(get('/', 8081), qr/^body \.$/m, 'se like(get('/id', 8085), qr/^body \w{64}$/m, 'session id'); unlike(http_get('/id'), qr/body \w/, 'session id no ssl'); like(get('/cipher', 8085), qr/^body [\w-]+$/m, 'cipher'); -like(get('/ciphers', 8084), qr/^body [:\w-]+$/m, 'ciphers'); +my $re = $t->has_module('BoringSSL') ? '' : qr/[:\w-]+/; +like(get('/ciphers', 8084), qr/^body $re$/m, 'ciphers'); like(get('/client_verify', 8085), qr/^body NONE$/m, 'client verify'); like(get('/protocol', 8085), qr/^body (TLS|SSL)v(\d|\.)+$/m, 'protocol'); like(cert('/issuer', 8085), qr!^body CN=issuer:/CN=issuer$!m, 'issuer');