Skip to content

[5.9] Update to swift-crypto 2.4.1 #6433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

yim-lee
Copy link
Contributor

@yim-lee yim-lee commented Apr 13, 2023

Cherry pick #6431 to 5.9


Motivation:
swift-crypto 2.4.1 includes updates in BoringSSL that cause Unsafe*Pointer<EVP_PKEY> become OpaquePointer and without this code adjustment SwiftPM fails to build with error: cannot find type 'EVP_PKEY' in scope.

Modifications:

  • Update dependency from 2.4.0 to 2.4.1
  • Replace Unsafe*Pointer<EVP_PKEY> with OpaquePointer.

Motivation:
swift-crypto 2.4.1 includes updates in BoringSSL that cause `Unsafe*Pointer<EVP_PKEY>` become `OpaquePointer` and without this code adjustment SwiftPM fails to build with `error: cannot find type 'EVP_PKEY' in scope`.

Modifications:
- Update dependency from 2.4.0 to 2.4.1
- Replace `Unsafe*Pointer<EVP_PKEY>` with `OpaquePointer`.
@yim-lee
Copy link
Contributor Author

yim-lee commented Apr 13, 2023

This requires update-checkout changes

@yim-lee
Copy link
Contributor Author

yim-lee commented Apr 13, 2023

swiftlang/swift#65158

@swift-ci please smoke test

@yim-lee
Copy link
Contributor Author

yim-lee commented Apr 15, 2023

swiftlang/swift#65158
@swift-ci please test macOS

@shahmishal shahmishal merged commit f63022a into swiftlang:release/5.9 Apr 17, 2023
@yim-lee yim-lee deleted the swift-crypto-2.4.1-5.9 branch April 17, 2023 16:40
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.

5 participants