mirror of https://github.com/wolfSSL/wolfssl.git
WOLFSSL_SESSION_EXPORT: fixes for scan-build complaints (deadcode.DeadStores) building --enable-all --enable-sessionexport.
parent
c50964cc35
commit
355b5821b2
|
@ -5751,12 +5751,14 @@ int InitSSL_Suites(WOLFSSL* ssl)
|
|||
#ifndef NO_PSK
|
||||
havePSK = (byte)ssl->options.havePSK;
|
||||
#endif /* NO_PSK */
|
||||
#if !defined(NO_CERTS) && !defined(WOLFSSL_SESSION_EXPORT)
|
||||
#ifdef HAVE_ANON
|
||||
haveAnon = (byte)ssl->options.haveAnon;
|
||||
#endif /* HAVE_ANON*/
|
||||
#ifdef WOLFSSL_MULTICAST
|
||||
haveMcast = (byte)ssl->options.haveMcast;
|
||||
#endif /* WOLFSSL_MULTICAST */
|
||||
#endif /* !NO_CERTS && !WOLFSSL_SESSION_EXPORT */
|
||||
|
||||
#ifdef WOLFSSL_EARLY_DATA
|
||||
if (ssl->options.side == WOLFSSL_SERVER_END)
|
||||
|
|
|
@ -4314,7 +4314,9 @@ static int nonblocking_accept_read(void* args, WOLFSSL* ssl, SOCKET_T* sockfd)
|
|||
|
||||
loop_count = ((func_args*)args)->argc;
|
||||
|
||||
#ifdef WOLFSSL_ASYNC_CRYPT
|
||||
err = 0; /* Reset error */
|
||||
#endif
|
||||
do {
|
||||
#ifdef WOLFSSL_ASYNC_CRYPT
|
||||
if (err == WC_PENDING_E) {
|
||||
|
|
Loading…
Reference in New Issue