Skip to content
Permalink
Browse files
test: merge test-crypto-dh-hash with modp18 test
This test file was split because it was taking a long time in some
versions of OpenSSL 1.1.1, but that is not the case anymore with
OpenSSL 3.0, so merge the tests again.

Refs: #34631

PR-URL: #43891
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
tniessen authored and danielleadams committed Jul 26, 2022
1 parent 8b83b4d commit ef21ad29967d3f7ad6c6ae11806f9414ab0b8c0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 48 deletions.

This file was deleted.

@@ -30,6 +30,10 @@ if (common.isPi) {
common.skip('Too slow for Raspberry Pi devices');
}

if (!common.hasOpenSSL3) {
common.skip('Too slow when dynamically linked against OpenSSL 1.1.1');
}

const assert = require('assert');
const crypto = require('crypto');

@@ -41,6 +45,7 @@ const hashes = {
modp15: '7bdd39e5cdbb9748113933e5c2623b559c534e74',
modp16: 'daea5277a7ad0116e734a8e0d2f297ef759d1161',
modp17: '3b62aaf0142c2720f0bf26a9589b0432c00eadc1',
modp18: 'a870b491bbbec9b131ae9878d07449d32e54f160',
};

for (const name in hashes) {

0 comments on commit ef21ad2

Please sign in to comment.