Skip to content

Fix openssl-probe 0.2.0 API compatibility#6669

Merged
youknowone merged 4 commits intodependabot/cargo/openssl-probe-0.2.0from
copilot/sub-pr-6663
Jan 7, 2026
Merged

Fix openssl-probe 0.2.0 API compatibility#6669
youknowone merged 4 commits intodependabot/cargo/openssl-probe-0.2.0from
copilot/sub-pr-6663

Conversation

Copy link
Contributor

Copilot AI commented Jan 6, 2026

openssl-probe 0.2.0 changed ProbeResult.cert_dir from Option<PathBuf> to Vec<PathBuf> to support multiple certificate directories, breaking compilation.

Changes

  • Static initialization: Changed EMPTY_PROBE to use vec![] for cert_dir field
  • Certificate directory selection: Use .first() instead of .as_ref() to extract primary directory from Vec, maintaining single-directory behavior with proper fallback to OpenSSL defaults
  • Import deduplication: Moved LazyLock import outside cfg_if block
// Before (0.1.6)
let cert_dir = probe.cert_dir.as_ref().map(PathBuf::from).unwrap_or_else(|| default);

// After (0.2.0)
let cert_dir = probe.cert_dir.first().map(PathBuf::from).unwrap_or_else(|| default);

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

dependabot bot and others added 2 commits January 6, 2026 15:33
Bumps [openssl-probe](https://github.com/alexcrichton/openssl-probe) from 0.1.6 to 0.2.0.
- [Release notes](https://github.com/alexcrichton/openssl-probe/releases)
- [Commits](rustls/openssl-probe@0.1.6...0.2.0)

---
updated-dependencies:
- dependency-name: openssl-probe
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 6, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@dependabot dependabot bot force-pushed the dependabot/cargo/openssl-probe-0.2.0 branch from bde6f36 to 0c3a449 Compare January 6, 2026 23:55
Copilot AI and others added 2 commits January 7, 2026 00:19
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
Copilot AI changed the title [WIP] Bump openssl-probe from 0.1.6 to 0.2.0 Fix openssl-probe 0.2.0 API compatibility Jan 7, 2026
Copilot AI requested a review from youknowone January 7, 2026 00:27
@youknowone youknowone marked this pull request as ready for review January 7, 2026 01:12
@youknowone youknowone merged commit 1bbf78b into dependabot/cargo/openssl-probe-0.2.0 Jan 7, 2026
12 checks passed
@youknowone youknowone deleted the copilot/sub-pr-6663 branch January 7, 2026 01:12
youknowone added a commit that referenced this pull request Jan 7, 2026
* Bump openssl-probe from 0.1.6 to 0.2.0

Bumps [openssl-probe](https://github.com/alexcrichton/openssl-probe) from 0.1.6 to 0.2.0.
- [Release notes](https://github.com/alexcrichton/openssl-probe/releases)
- [Commits](rustls/openssl-probe@0.1.6...0.2.0)

---
updated-dependencies:
- dependency-name: openssl-probe
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix openssl-probe 0.2.0 API compatibility (#6669)

* Bump openssl-probe from 0.1.6 to 0.2.0

Bumps [openssl-probe](https://github.com/alexcrichton/openssl-probe) from 0.1.6 to 0.2.0.
- [Release notes](https://github.com/alexcrichton/openssl-probe/releases)
- [Commits](rustls/openssl-probe@0.1.6...0.2.0)

---
updated-dependencies:
- dependency-name: openssl-probe
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Initial plan

* Fix openssl-probe 0.2.0 API compatibility

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
terryluan12 pushed a commit to terryluan12/RustPython that referenced this pull request Jan 15, 2026
* Bump openssl-probe from 0.1.6 to 0.2.0

Bumps [openssl-probe](https://github.com/alexcrichton/openssl-probe) from 0.1.6 to 0.2.0.
- [Release notes](https://github.com/alexcrichton/openssl-probe/releases)
- [Commits](rustls/openssl-probe@0.1.6...0.2.0)

---
updated-dependencies:
- dependency-name: openssl-probe
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix openssl-probe 0.2.0 API compatibility (RustPython#6669)

* Bump openssl-probe from 0.1.6 to 0.2.0

Bumps [openssl-probe](https://github.com/alexcrichton/openssl-probe) from 0.1.6 to 0.2.0.
- [Release notes](https://github.com/alexcrichton/openssl-probe/releases)
- [Commits](rustls/openssl-probe@0.1.6...0.2.0)

---
updated-dependencies:
- dependency-name: openssl-probe
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Initial plan

* Fix openssl-probe 0.2.0 API compatibility

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants