Unverified Commit dcb0b7f3 authored by Kevin Albertson's avatar Kevin Albertson Committed by GitHub
Browse files

CDRIVER-4699 fix leak on repeated attempts to authenticate (#1364)

* CDRIVER-4699 add regression test

* Call `_mongoc_scram_destroy` when resetting auth state

* only call if `MONGOC_ENABLE_CRYPTO` is defined

`_mongoc_scram_destroy` is conditionally defined. If `MONGOC_ENABLE_CRYPTO` is not defined, scram auth is not supported.
parent 69414592
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment