Merge pull request #506 from sebastian-carpenter/GitHub-issue-505

fixed call to wolfSSL_dtls_cid_parse
master
Juliusz Sosinowicz 2025-06-05 20:12:52 +02:00 committed by GitHub
commit 41d61d2e95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ void freeConn(struct ConnList** connList, struct ConnList* conn, struct DtlsTime
struct ConnList* findConn(struct ConnList* connList, byte* msg, ssize_t sz, struct sockaddr* peerAddr, socklen_t peerAddrLen)
{
const unsigned char* msgCid = NULL;
wolfSSL_dtls_cid_parse(msg, sz, &msgCid, CID_SIZE);
msgCid = wolfSSL_dtls_cid_parse(msg, sz, CID_SIZE);
for (; connList != NULL; connList = connList->next) {
const void* peer = NULL;
unsigned int peerSz = 0;