Skip to content

Commit 6c50fe7

Browse files
fixed call to wolfSSL_dtls_cid_parse
The server-dtls-demux.c file used the old function call signature. It has been updated to reflect the new signature.
1 parent 63b2ad4 commit 6c50fe7

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)