Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-64595

must invoke OpenSSL_add_all_algorithms in openssl related unit tests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Hide
      • spawn amazon2-arm64-large
      • clone mongodb repository (enterprise not required)
      • configure venv
      • activate and run test:
      buildscripts/scons.py --dbg=on --opt=off \
           --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars \
           +aead_encryption_test
      

      expect: "Unrecognized AES key size/cipher mode."

      Show
      spawn amazon2-arm64-large clone mongodb repository (enterprise not required) configure venv activate and run test: buildscripts/scons.py --dbg=on --opt=off \ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars \ +aead_encryption_test expect: "Unrecognized AES key size/cipher mode."
    • Security 2022-03-21
    • 68

      Re: BF-24504

      According to following post, OpenSSL must be initialized by calling OpenSSL_add_all_algorithms(). If not done, it prevents EVP_get_cipherbyname from properly functioning on some platforms

      Platform issue verified on: amazon2-arm64-large image

            Assignee:
            sergey.galtsev@mongodb.com Sergey Galtsev (Inactive)
            Reporter:
            sergey.galtsev@mongodb.com Sergey Galtsev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: