File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,7 @@ const ERROR = 0;
15
15
16
16
const __dirname = path . dirname ( url . fileURLToPath ( import . meta. url ) ) ;
17
17
18
- const { CRYPT_SHARED_LIB_PATH : cryptSharedLibPath = '' , BENCH_WITHOUT_NATIVE_CRYPTO = '' } =
19
- process . env ;
18
+ const { CRYPT_SHARED_LIB_PATH : cryptSharedLibPath = '' } = process . env ;
20
19
21
20
const warmupSecs = 2 ;
22
21
const testInSecs = 57 ;
@@ -121,8 +120,7 @@ function main() {
121
120
`testInSecs=${ testInSecs } `
122
121
) ;
123
122
124
- const mongoCryptOptions = { kmsProviders : BSON . serialize ( kmsProviders ) } ;
125
- if ( BENCH_WITHOUT_NATIVE_CRYPTO ) mongoCryptOptions . cryptoCallbacks = cryptoCallbacks ;
123
+ const mongoCryptOptions = { kmsProviders : BSON . serialize ( kmsProviders ) , cryptoCallbacks } ;
126
124
if ( cryptSharedLibPath ) mongoCryptOptions . cryptSharedLibPath = cryptSharedLibPath ;
127
125
128
126
const mongoCrypt = new MongoCrypt ( mongoCryptOptions ) ;
You can’t perform that action at this time.
0 commit comments