Skip to content

Commit 41d61d2

Browse files
Merge pull request wolfSSL#506 from sebastian-carpenter/GitHub-issue-505
fixed call to wolfSSL_dtls_cid_parse
2 parents 63b2ad4 + 6c50fe7 commit 41d61d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dtls/server-dtls-demux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ void freeConn(struct ConnList** connList, struct ConnList* conn, struct DtlsTime
558558
struct ConnList* findConn(struct ConnList* connList, byte* msg, ssize_t sz, struct sockaddr* peerAddr, socklen_t peerAddrLen)
559559
{
560560
const unsigned char* msgCid = NULL;
561-
wolfSSL_dtls_cid_parse(msg, sz, &msgCid, CID_SIZE);
561+
msgCid = wolfSSL_dtls_cid_parse(msg, sz, CID_SIZE);
562562
for (; connList != NULL; connList = connList->next) {
563563
const void* peer = NULL;
564564
unsigned int peerSz = 0;

0 commit comments

Comments
 (0)