Merge pull request #5548 from dgarske/whitespace

Whitespace cleanup
This commit is contained in:
Sean Parkinson
2022-09-06 07:54:29 +10:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;