Skip to content

Commit 9dbc52b

Browse files
authored
Merge pull request #141 from golang-fips/dev/qmuntal/testv3
Test using latest openssl v3 minor versions
2 parents 6b18634 + 4f6f96e commit 9dbc52b

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
fail-fast: false
77
matrix:
88
go-version: [1.20.x]
9-
openssl-version: [1.0.2, 1.1.0, 1.1.1, 3.0.1, 3.0.9]
9+
openssl-version: [1.0.2, 1.1.0, 1.1.1, 3.0.1, 3.0.13, 3.1.5, 3.2.1]
1010
runs-on: ubuntu-20.04
1111
steps:
1212
- name: Install build tools

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ On the other hand, Google maintains a branch that uses cgo and BoringSSL to impl
2626

2727
### Multiple OpenSSL versions supported
2828

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

3131
All supported OpenSSL versions pass a small set of automatic tests that ensure they can be built and that there are no major regressions.
3232
These tests do not validate the cryptographic correctness of the `openssl` package.

scripts/openssl.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,30 @@ case "$version" in
5151
make="build_libs"
5252
install="install_fips"
5353
;;
54+
"3.0.13")
55+
tag="openssl-3.0.13";
56+
sha256="e74504ed7035295ec7062b1da16c15b57ff2a03cd2064a28d8c39458cacc45fc"
57+
fipsmodule_version=""
58+
config="enable-fips"
59+
make="build_libs"
60+
install="install_fips"
61+
;;
62+
"3.1.5")
63+
tag="openssl-3.1.5";
64+
sha256="299ddfd0a506a6d37de56386d15ce30d344d91884dfc98ab3330b7c009029931"
65+
fipsmodule_version=""
66+
config="enable-fips"
67+
make="build_libs"
68+
install="install_fips"
69+
;;
70+
"3.2.1")
71+
tag="openssl-3.2.1";
72+
sha256="75cc6803ffac92625c06ea3c677fb32ef20d15a1b41ecc8dddbc6b9d6a2da84c"
73+
fipsmodule_version=""
74+
config="enable-fips"
75+
make="build_libs"
76+
install="install_fips"
77+
;;
5478
*)
5579
echo >&2 "error: unsupported OpenSSL version '$version'"
5680
exit 1 ;;

0 commit comments

Comments
 (0)