Skip to content
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
13 changes: 12 additions & 1 deletion openssl.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: openssl
version: 3.1.1
epoch: 0
epoch: 1
description: "the OpenSSL cryptography suite"
copyright:
- license: Apache-2.0
Expand Down Expand Up @@ -74,6 +74,17 @@ pipeline:

- uses: strip

# The fipsmodule.cnf generated by the OpenSSL build system is incorrect.
# Regenerate it ourselves.
- if: ${{options.fips.enabled}} == 'true'
runs: |
rm -f ${{targets.destdir}}/etc/ssl/fipsmodule.cnf

LD_LIBRARY_PATH="${{targets.destdir}}/usr/lib" \
${{targets.destdir}}/usr/bin/openssl fipsinstall \
-module ${{targets.destdir}}/usr/lib/ossl-modules/fips.so \
-out ${{targets.destdir}}/etc/ssl/fipsmodule.cnf

data:
- name: engines
items:
Expand Down
4 changes: 2 additions & 2 deletions openssl/fips-preamble.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ alg_section = algorithm_sect

[provider_sect]
fips = fips_sect
base = base_sect
default = default_sect

[base_sect]
[default_sect]
activate = 1

[algorithm_sect]
Expand Down