Skip to content

Commit 7e6eb9c

Browse files
committed
1 parent 5b91ccf commit 7e6eb9c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/unit-tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,29 @@ jobs:
104104
run: |
105105
pip freeze
106106
107+
- name: test hashlib md4 support fix
108+
run: |
109+
ls -R /etc/ssl
110+
ls -R /lib/ssl
111+
ls -R /usr/lib/ssl
112+
113+
python -c 'import hashlib; hashlib.new("md4")'
114+
115+
cat >> /etc/ssl/openssl.cnf <<EOF
116+
117+
[provider_sect]
118+
default = default_sect
119+
legacy = legacy_sect
120+
121+
[default_sect]
122+
activate = 1
123+
124+
[legacy_sect]
125+
activate = 1
126+
EOF
127+
128+
python -c 'import hashlib; hashlib.new("md4")'
129+
107130
- name: set settings path
108131
shell: bash
109132
run: |

0 commit comments

Comments
 (0)