Skip to content

Commit 15d6d9a

Browse files
committed
ci: patch openssl.cnf for ripemd160 support
1 parent 8365249 commit 15d6d9a

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/cont_integration.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,26 @@ jobs:
4949
python-version: '3.9'
5050
- name: Install python dependencies
5151
run: pip install hwi==2.1.1 protobuf==3.20.1 requests
52+
- name: Patch openssl.cnf for ripemd160 support
53+
run: |
54+
cat << 'EOF' > /tmp/openssl.cnf
55+
openssl_conf = openssl_init
56+
57+
[openssl_init]
58+
providers = provider_sect
59+
60+
[provider_sect]
61+
default = default_sect
62+
legacy = legacy_sect
63+
64+
[default_sect]
65+
activate = 1
66+
67+
[legacy_sect]
68+
activate = 1
69+
EOF
70+
- name: Setup OPENSSL_CONF environment variable
71+
run: echo "OPENSSL_CONF=/tmp/openssl.cnf" >> $GITHUB_ENV
5272
# ==== End hwi emulator setup ====
5373
- name: Test
5474
run: cargo test ${{ matrix.features }}

0 commit comments

Comments
 (0)