-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Steps to reproduce:
- Create a mongocrypt_ctx_t for explicit encryption
- Call mongocrypt_ctx_setopt_key_alt_name where key_alt_name is invalid BSON
- Assert mongocrypt_ctx_setopt_key_alt_name fails
- Create a new status (mongocrypt_status_new)
- Call mongocrypt_ctx_status(ctx, status)
- Assert that the status is not ok. This assert fails.
I believe the problem is this check in mongocrypt_ctx_status:
if (!ctx->initialized) { return _mongocrypt_ctx_fail_w_msg (ctx, "ctx NULL or uninitialized"); }
- is related to
-
PYTHON-1937 pymongocrypt add support for explicit encryption
- Closed