Skip to content
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

Test using latest openssl v3 minor versions #141

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
go-version: [1.20.x]
openssl-version: [1.0.2, 1.1.0, 1.1.1, 3.0.1, 3.0.9]
openssl-version: [1.0.2, 1.1.0, 1.1.1, 3.0.1, 3.0.13, 3.1.5, 3.2.1]
runs-on: ubuntu-20.04
steps:
- name: Install build tools
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ On the other hand, Google maintains a branch that uses cgo and BoringSSL to impl

### Multiple OpenSSL versions supported

The `openssl` package has support for multiple OpenSSL versions, namely 1.0.2, 1.1.0, 1.1.1 and 3.0.x.
The `openssl` package has support for multiple OpenSSL versions, namely 1.0.2, 1.1.0, 1.1.1 and 3.x.

All supported OpenSSL versions pass a small set of automatic tests that ensure they can be built and that there are no major regressions.
These tests do not validate the cryptographic correctness of the `openssl` package.
Expand Down
24 changes: 24 additions & 0 deletions scripts/openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,30 @@ case "$version" in
make="build_libs"
install="install_fips"
;;
"3.0.13")
tag="openssl-3.0.13";
sha256="e74504ed7035295ec7062b1da16c15b57ff2a03cd2064a28d8c39458cacc45fc"
fipsmodule_version=""
config="enable-fips"
make="build_libs"
install="install_fips"
;;
"3.1.5")
tag="openssl-3.1.5";
sha256="299ddfd0a506a6d37de56386d15ce30d344d91884dfc98ab3330b7c009029931"
fipsmodule_version=""
config="enable-fips"
make="build_libs"
install="install_fips"
;;
"3.2.1")
tag="openssl-3.2.1";
sha256="75cc6803ffac92625c06ea3c677fb32ef20d15a1b41ecc8dddbc6b9d6a2da84c"
fipsmodule_version=""
config="enable-fips"
make="build_libs"
install="install_fips"
;;
*)
echo >&2 "error: unsupported OpenSSL version '$version'"
exit 1 ;;
Expand Down
Loading