Skip to content

Commit 359e688

Browse files
committed
ssl.c: Move functions out to own files and add testing
ssl_api_pk.c: added Public-key APIs (min/max key sizes, DH key test, signature NIDs, tmp ecdh. Reworked code of new functions. ssl_api_cert.c: added more SSL Certificate APIs. Reworked code of new functions. ssl_api_ext.c: TLS extension APIs (session tickets, max fragment, groups, etc.). Reworked code. ssl_api_dtls.c: DTLS APIs (cookie secret, etc.) Improved test coverage for functions moved.
1 parent 4f09916 commit 359e688

17 files changed

Lines changed: 11063 additions & 6204 deletions

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2945,6 +2945,9 @@ if(WOLFSSL_EXAMPLES)
29452945
tests/api/test_lms_xmss.c
29462946
tests/api/test_dtls.c
29472947
tests/api/test_dtls13.c
2948+
tests/api/test_ssl_cert.c
2949+
tests/api/test_ssl_pk.c
2950+
tests/api/test_ssl_ext.c
29482951
tests/api/test_ocsp.c
29492952
tests/api/test_evp.c
29502953
tests/api/test_tls_ext.c

src/include.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ EXTRA_DIST += src/pk_rsa.c
2121
EXTRA_DIST += src/pk_ec.c
2222
EXTRA_DIST += src/ssl_api_cert.c
2323
EXTRA_DIST += src/ssl_api_crl_ocsp.c
24+
EXTRA_DIST += src/ssl_api_dtls.c
25+
EXTRA_DIST += src/ssl_api_ext.c
2426
EXTRA_DIST += src/ssl_api_pk.c
2527
EXTRA_DIST += src/ssl_asn1.c
2628
EXTRA_DIST += src/ssl_bn.c

0 commit comments

Comments
 (0)