Skip to content

Commit 0b2fb66

Browse files
committed
api.c: Split out more functions
wolfSSL_PEM, wolfSSL_X509, wolfSSL_X509_NAME, wolfSSL_X509_PUBKEY API testing moved out to separate files.
1 parent 569a5e0 commit 0b2fb66

14 files changed

+15684
-15207
lines changed

tests/api.c

Lines changed: 9849 additions & 15207 deletions
Large diffs are not rendered by default.

tests/api/include.am

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@ tests_unit_test_SOURCES += tests/api/test_ossl_ec.c
7878
tests_unit_test_SOURCES += tests/api/test_ossl_ecx.c
7979
tests_unit_test_SOURCES += tests/api/test_ossl_dsa.c
8080
tests_unit_test_SOURCES += tests/api/test_ossl_sk.c
81+
# OpenSSL X509
82+
tests_unit_test_SOURCES += tests/api/test_ossl_x509.c
83+
tests_unit_test_SOURCES += tests/api/test_ossl_x509_ext.c
84+
tests_unit_test_SOURCES += tests/api/test_ossl_x509_name.c
85+
tests_unit_test_SOURCES += tests/api/test_ossl_x509_pk.c
86+
# SSL PEM
87+
tests_unit_test_SOURCES += tests/api/test_ossl_pem.c
8188
# TLS 1.3 specific
8289
tests_unit_test_SOURCES += tests/api/test_tls13.c
8390
endif
@@ -147,5 +154,10 @@ EXTRA_DIST += tests/api/test_ossl_ec.h
147154
EXTRA_DIST += tests/api/test_ossl_ecx.h
148155
EXTRA_DIST += tests/api/test_ossl_dsa.h
149156
EXTRA_DIST += tests/api/test_ossl_sk.h
157+
EXTRA_DIST += tests/api/test_ossl_x509.h
158+
EXTRA_DIST += tests/api/test_ossl_x509_ext.h
159+
EXTRA_DIST += tests/api/test_ossl_x509_name.h
160+
EXTRA_DIST += tests/api/test_ossl_x509_pk.h
161+
EXTRA_DIST += tests/api/test_ossl_pem.h
150162
EXTRA_DIST += tests/api/test_tls13.h
151163

0 commit comments

Comments
 (0)