Skip to content

Commit 01cbb3f

Browse files
authored
CDRIVER-4584 use libmongocrypt 1.8.0-alpha1 (#1253)
* use libmongocrypt 1.8.0-alpha1 * remove use of `mongocrypt_setopt_fle2v2`
1 parent 7c625e7 commit 01cbb3f

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.evergreen/scripts/compile-libmongocrypt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ compile_libmongocrypt() {
55
declare -r mongoc_dir="${2:?}"
66
declare -r install_dir="${3:?}"
77

8-
git clone -q --depth=1 https://github.com/mongodb/libmongocrypt --branch 1.8.0-alpha0 || return
8+
git clone -q --depth=1 https://github.com/mongodb/libmongocrypt --branch 1.8.0-alpha1 || return
99

1010
declare -a crypt_cmake_flags=(
1111
"-DMONGOCRYPT_MONGOC_DIR=${mongoc_dir}"

src/libmongoc/src/mongoc/mongoc-crypt.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,12 +1329,6 @@ _mongoc_crypt_new (const bson_t *kms_providers,
13291329
crypt = bson_malloc0 (sizeof (*crypt));
13301330
crypt->handle = mongocrypt_new ();
13311331

1332-
// Enable the QEv2 protocol.
1333-
if (!mongocrypt_setopt_fle2v2 (crypt->handle, true)) {
1334-
_crypt_check_error (crypt->handle, error, true);
1335-
goto fail;
1336-
}
1337-
13381332
// Stash away a copy of the user's kmsProviders in case we need to lazily
13391333
// load credentials.
13401334
bson_copy_to (kms_providers, &crypt->kms_providers);

0 commit comments

Comments
 (0)