Modify _mongocrypt_hmac_sha_256 to accept crypto as nullptr

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The comments for `_mongocrypt_hmac_sha_256` specify:
      ```
      Uses the hmac_sha_256 hook set on @crypto if set, and otherwise calls the native implementation.
      ```
      For cases where the program intends for the native implementation to be called, it would be easier to pass in nullptr for `@crypto` rather than creating a dummy mongocrypt_crypto_t object.

              Assignee:
              Josh Siegel
              Reporter:
              Josh Siegel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: