Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-2144

Remove use of deprecated openssl_probe method

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.2.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Rust Drivers
    • Not Needed

      openssl_probe::init_ssl_cert_env_vars was deprecated in favor of a new unsafe method to set openssl-related environment variables. This was done after it was determined that setting these vars at runtime is unsound (see here for more details). Switching to the new unsafe method causes a semgrep warning. The documentation recommends reading the variables and configuring them directly rather than using environment variables. We should determine whether this is feasible and, if not, switch to the unsafe method and suppress the semgrep warning.

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: