mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
adjust sizeof type for getsockopt argument
This commit is contained in:
@ -517,7 +517,7 @@ int EmbedSendTo(WOLFSSL* ssl, char *buf, int sz, void *ctx)
|
||||
const SOCKADDR_S* peer = NULL;
|
||||
XSOCKLENT peerSz = 0;
|
||||
int type;
|
||||
XSOCKLENT length = sizeof( XSOCKLENT );
|
||||
XSOCKLENT length = sizeof(int); /* optvalue 'type' is of size int */
|
||||
|
||||
WOLFSSL_ENTER("EmbedSendTo()");
|
||||
|
||||
|
Reference in New Issue
Block a user