Do not declare OpenSSL 1.1 polyfill functions in global scope

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.3.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Note: this description is intentionally brief, as the full context for this issue is already presented in CDRIVER-4297.

      In libmongocrypt, the following OpenSSL 1.1 functions are declared when compiling against OpenSSL 1.0.x:

      These functions should either be declared statically or renamed/prefixed, as is done for some libbson compat functions.

      Note: EVP_MD_CTX_new and EVP_MD_CTX_free are defined kms-message/src/kms_crypto_libcrypto.c, but those declarations already use static.

              Assignee:
              Kevin Albertson
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: