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.pull/506/head
parent
63b2ad43e1
commit
6c50fe71f9
|
@ -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)
|
struct ConnList* findConn(struct ConnList* connList, byte* msg, ssize_t sz, struct sockaddr* peerAddr, socklen_t peerAddrLen)
|
||||||
{
|
{
|
||||||
const unsigned char* msgCid = NULL;
|
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) {
|
for (; connList != NULL; connList = connList->next) {
|
||||||
const void* peer = NULL;
|
const void* peer = NULL;
|
||||||
unsigned int peerSz = 0;
|
unsigned int peerSz = 0;
|
||||||
|
|
Loading…
Reference in New Issue