summaryrefslogtreecommitdiff
path: root/test/parallel/test-crypto-padding-aes256.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-crypto-padding-aes256.js')
-rw-r--r--test/parallel/test-crypto-padding-aes256.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/parallel/test-crypto-padding-aes256.js b/test/parallel/test-crypto-padding-aes256.js
index 3e17a3fc3e..9fb80f3eed 100644
--- a/test/parallel/test-crypto-padding-aes256.js
+++ b/test/parallel/test-crypto-padding-aes256.js
@@ -21,12 +21,10 @@
'use strict';
const common = require('../common');
-const assert = require('assert');
-
-if (!common.hasCrypto) {
+if (!common.hasCrypto)
common.skip('missing crypto');
- return;
-}
+
+const assert = require('assert');
const crypto = require('crypto');
crypto.DEFAULT_ENCODING = 'buffer';