The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
GetDtlsRecordHeader(): fix error handling around GetDtls13RecordHeader() (incorrectLogicOperator);
test_wolfSSL_dtls_stateless_maxfrag(): fix a clang-analyzer-core.NullDereference,
test_dtls_frag_ch(): fix a clang-diagnostic-embedded-directive,
test_AEAD_limit_client(): fix an united-data defect found by valgrind.
tested with wolfssl-multi-test.sh ... super-quick-check with ENABLE_ALL_TEST_FLAGS tweaked to add --enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch.
analyzer-driven cleanups of
--enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch
:Dtls13HashClientHello()
: fixwc_HashType
handling;Dtls13SendFragment()
: fixidenticalConditionAfterEarlyExit
;GetDtlsRecordHeader()
: fix error handling aroundGetDtls13RecordHeader() (incorrectLogicOperator)
;test_wolfSSL_dtls_stateless_maxfrag()
: fix aclang-analyzer-core.NullDereference
,test_dtls_frag_ch()
: fix aclang-diagnostic-embedded-directive
,test_AEAD_limit_client()
: fix an united-data defect found byvalgrind
.tested with
wolfssl-multi-test.sh ... super-quick-check
withENABLE_ALL_TEST_FLAGS
tweaked to add--enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch
.