We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8376c53 commit f41e5d1Copy full SHA for f41e5d1
addon/mongocrypt.cc
@@ -472,7 +472,7 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info)
472
}
473
474
475
- if (options.Has("cryptoCallbacks")) {
+ if (!mongocrypt_is_crypto_available() && options.Has("cryptoCallbacks")) {
476
Object cryptoCallbacks = options.Get("cryptoCallbacks").ToObject();
477
478
SetCallback("aes256CbcEncryptHook", cryptoCallbacks["aes256CbcEncryptHook"]);
0 commit comments