diff --git a/test/parallel/test-tls-disable-renegotiation.js b/test/parallel/test-tls-disable-renegotiation.js index 9e9a672768649c..0efa935e432950 100644 --- a/test/parallel/test-tls-disable-renegotiation.js +++ b/test/parallel/test-tls-disable-renegotiation.js @@ -5,10 +5,9 @@ const fs = require('fs'); // Tests that calling disableRenegotiation on a TLSSocket stops renegotiation. -if (!common.hasCrypto) { +if (!common.hasCrypto) common.skip('missing crypto'); - return; -} + const tls = require('tls'); const options = {