Skip to content

Commit 5f94600

Browse files
authored
Merge pull request #238 from aidangarske/openvpn-patch-fix
Use openvpn osp patch
2 parents c3f1e50 + 6465cbb commit 5f94600

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/openvpn.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,15 @@ jobs:
7777
ref: ${{ matrix.openvpn_ref }}
7878
fetch-depth: 1
7979

80-
- name: Apply patch
81-
working-directory: openvpn
82-
run: |
83-
# delete the test_des_encrypt test case, if it exists
84-
perl -ni -e 'print unless /cmocka_unit_test\(test_des_encrypt\),/' tests/unit_tests/openvpn/test_crypto.c
85-
# show the results of the patch
86-
git diff
80+
- name: Checkout OSP
81+
uses: actions/checkout@v4
82+
with:
83+
repository: wolfssl/osp
84+
path: osp
85+
fetch-depth: 1
86+
- run: |
87+
cd openvpn
88+
patch -p1 < $GITHUB_WORKSPACE/osp/wolfProvider/openvpn/openvpn-${{ matrix.openvpn_ref }}-wolfprov.patch
8789
8890
- name: Build OpenVPN
8991
working-directory: openvpn

0 commit comments

Comments
 (0)