0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00
mongodb/jstests/ssl/dh_params.js
W. Brad Moore 3cbd53553c SERVER-84397: Use proper SSL options in tests
GitOrigin-RevId: 2ceb3b5faa6e0038e0f6d2f4326241b735b83535
2024-02-01 15:32:18 +00:00

7 lines
360 B
JavaScript

import {dhparamSSL, replShouldSucceed, requireSSLProvider} from "jstests/ssl/libs/ssl_helpers.js";
requireSSLProvider('openssl', function() {
// Verify that requireTLS with Diffie-Hellman parameters allows ssl connections
print("=== Testing that DHParams files can be loaded ===");
replShouldSucceed("dhparam-dhparam", dhparamSSL, dhparamSSL);
});