Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-383

Do not declare OpenSSL 1.1 polyfill functions in global scope

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

      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@mongodb.com Kevin Albertson
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: