Skip to content

Commit 3676f25

Browse files
committed
Add CRL generation capability
1 parent a0c7f6c commit 3676f25

18 files changed

Lines changed: 2477 additions & 16 deletions

File tree

.github/workflows/address-sanitizer.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ jobs:
3939
- name: Build native wolfSSL with AddressSanitizer
4040
uses: wolfSSL/actions-build-autotools-project@v1
4141
with:
42-
repository: wolfSSL/wolfssl
43-
ref: master
42+
# Point to PR branch until merge
43+
# TODO: Switch back to wolfssl/wolfssl after merge
44+
repository: padelsbach/wolfssl
45+
ref: crl-generation
4446
path: wolfssl
4547
configure: ${{ inputs.wolfssl_configure }} CFLAGS="-fsanitize=address -fno-omit-frame-pointer" LDFLAGS="-fsanitize=address"
4648
check: false

.github/workflows/android_gradle.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ jobs:
2121
- name: Clone native wolfSSL
2222
uses: actions/checkout@v4
2323
with:
24-
repository: 'wolfssl/wolfssl'
24+
# Point to PR branch until merge
25+
# TODO: Switch back to wolfssl/wolfssl after merge
26+
repository: 'padelsbach/wolfssl'
27+
ref: crl-generation
2528
path: IDE/Android/app/src/main/cpp/wolfssl
2629

2730
# Copy options.h.in to blank options.h

.github/workflows/infer.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@ jobs:
7575
- name: Build native wolfSSL
7676
uses: wolfSSL/actions-build-autotools-project@v1
7777
with:
78-
repository: wolfSSL/wolfssl
79-
ref: master
78+
# Point to PR branch until merge
79+
# TODO: Switch back to wolfssl/wolfssl after merge
80+
ref: crl-generation
81+
repository: padelsbach/wolfssl
8082
path: wolfssl
8183
configure: ${{ inputs.wolfssl_configure }}
8284
check: false

.github/workflows/linux-common.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ jobs:
4242
- name: Build native wolfSSL
4343
uses: wolfSSL/actions-build-autotools-project@v1
4444
with:
45-
repository: wolfSSL/wolfssl
46-
ref: master
45+
# Point to PR branch until merge
46+
# TODO: Switch back to wolfssl/wolfssl after merge
47+
repository: padelsbach/wolfssl
48+
ref: crl-generation
4749
path: wolfssl
4850
configure: ${{ inputs.wolfssl_configure }}
4951
check: false

.github/workflows/maven.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
- name: Build native wolfSSL
2626
uses: wolfSSL/actions-build-autotools-project@v1
2727
with:
28-
repository: wolfSSL/wolfssl
29-
ref: master
28+
# Point to PR branch until merge
29+
# TODO: Switch back to wolfssl/wolfssl after merge
30+
repository: padelsbach/wolfssl
31+
ref: crl-generation
3032
path: wolfssl
3133
configure: ${{ inputs.wolfssl_configure }}
3234
check: false

.github/workflows/scan-build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ jobs:
4040
- name: Build native wolfSSL
4141
uses: wolfSSL/actions-build-autotools-project@v1
4242
with:
43-
repository: wolfSSL/wolfssl
44-
ref: master
43+
# Point to PR branch until merge
44+
# TODO: Switch back to wolfssl/wolfssl after merge
45+
repository: padelsbach/wolfssl
46+
ref: crl-generation
4547
path: wolfssl
4648
configure: '--enable-jni --enable-all'
4749
check: false

.github/workflows/stable-wolfssl-releases.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
wolfssl_version: ${{ fromJson(needs.get-stable-releases.outputs.versions) }}
34+
wolfssl_version: crl-generation
3535
jdk_version: [ '21' ]
3636
wolfssl_configure: [ '--enable-jni', '--enable-jni --enable-all' ]
3737
name: wolfSSL ${{ matrix.wolfssl_version }} (JDK ${{ matrix.jdk_version }}, ${{ matrix.wolfssl_configure }})
@@ -56,7 +56,9 @@ jobs:
5656
- name: Build native wolfSSL ${{ matrix.wolfssl_version }}
5757
uses: wolfSSL/actions-build-autotools-project@v1
5858
with:
59-
repository: wolfSSL/wolfssl
59+
# Point to PR branch until merge
60+
# TODO: Switch back to wolfssl/wolfssl after merge
61+
repository: padelsbach/wolfssl
6062
ref: ${{ matrix.wolfssl_version }}
6163
path: wolfssl
6264
configure: ${{ matrix.wolfssl_configure }}

.github/workflows/windows-vs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ jobs:
3939
- name: Checkout wolfSSL
4040
uses: actions/checkout@v4
4141
with:
42-
repository: wolfSSL/wolfssl
43-
ref: master
42+
# Point to PR branch until merge
43+
# TODO: Switch back to wolfssl/wolfssl after merge
44+
repository: padelsbach/wolfssl
45+
ref: crl-generation
4446
path: wolfssl
4547

4648
- name: Verify file structure

IDE/Android/app/src/main/cpp/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ add_library(wolfssljni SHARED
343343
${wolfssljni_DIR}/native/com_wolfssl_WolfSSLCertManager.c
344344
${wolfssljni_DIR}/native/com_wolfssl_WolfSSLCertRequest.c
345345
${wolfssljni_DIR}/native/com_wolfssl_WolfSSLCertificate.c
346+
${wolfssljni_DIR}/native/com_wolfssl_WolfSSLCRL.c
346347
${wolfssljni_DIR}/native/com_wolfssl_WolfSSLContext.c
347348
${wolfssljni_DIR}/native/com_wolfssl_WolfSSLSession.c
348349
${wolfssljni_DIR}/native/com_wolfssl_WolfSSLX509Name.c

IDE/WIN/wolfssljni.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<ClCompile Include="..\..\native\com_wolfssl_WolfSSLCertificate.c" />
4343
<ClCompile Include="..\..\native\com_wolfssl_WolfSSLCertManager.c" />
4444
<ClCompile Include="..\..\native\com_wolfssl_WolfSSLCertRequest.c" />
45+
<ClCompile Include="..\..\native\com_wolfssl_WolfSSLCRL.c" />
4546
<ClCompile Include="..\..\native\com_wolfssl_WolfSSLContext.c" />
4647
<ClCompile Include="..\..\native\com_wolfssl_WolfSSLSession.c" />
4748
<ClCompile Include="..\..\native\com_wolfssl_WolfSSLX509Name.c" />
@@ -56,6 +57,7 @@
5657
<ClInclude Include="..\..\native\com_wolfssl_WolfSSLCertificate.h" />
5758
<ClInclude Include="..\..\native\com_wolfssl_WolfSSLCertManager.h" />
5859
<ClInclude Include="..\..\native\com_wolfssl_WolfSSLCertRequest.h" />
60+
<ClInclude Include="..\..\native\com_wolfssl_WolfSSLCRL.h" />
5961
<ClInclude Include="..\..\native\com_wolfssl_WolfSSLContext.h" />
6062
<ClInclude Include="..\..\native\com_wolfssl_WolfSSLSession.h" />
6163
<ClInclude Include="..\..\native\com_wolfssl_WolfSSLX509Name.h" />

0 commit comments

Comments
 (0)