Description
If a nonexistent provider is referenced when calling the lcbcrypto_encrypt/decrypt_document calls, then a NULL entry with this name will be added to the instance->crypto map (this is default behaviour for the std::map [] operator). I have created a fix for this issue which I will push momentarily.
Attachments
For Gerrit Dashboard: CCBC-925 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
93754,2 | CCBC-925: Do not register nonexistent crypto providers during lookup | master | libcouchbase | Status: MERGED | +2 | +1 |
93756,3 | CCBC-925: Do not register nonexistent crypto providers during lookup | master | libcouchbase | Status: MERGED | +2 | +1 |