mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
@ -9127,7 +9127,7 @@ static int SendTls13NewSessionTicket(WOLFSSL* ssl)
|
||||
ssl->session->ticketNonce.len = DEF_TICKET_NONCE_SZ;
|
||||
ssl->session->ticketNonce.data[0] = 0;
|
||||
}
|
||||
else
|
||||
else
|
||||
#ifdef WOLFSSL_ASYNC_CRYPT
|
||||
if (ssl->error != WC_PENDING_E)
|
||||
#endif
|
||||
|
@ -377,7 +377,7 @@ static int isDGramSock(int sfd)
|
||||
int type = 0;
|
||||
/* optvalue 'type' is of size int */
|
||||
XSOCKLENT length = (XSOCKLENT)sizeof(int);
|
||||
|
||||
|
||||
if (getsockopt(sfd, SOL_SOCKET, SO_TYPE, &type, &length) == 0 &&
|
||||
type != SOCK_DGRAM) {
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user