forked from wolfSSL/wolfssl
Merge pull request #4232 from SparkiDev/small_build_fixes
Small configurations: get compiling
This commit is contained in:
@ -8536,6 +8536,9 @@ static void AddFragHeaders(byte* output, word32 fragSz, word32 fragOffset,
|
|||||||
}
|
}
|
||||||
#endif /* NO_CERTS */
|
#endif /* NO_CERTS */
|
||||||
|
|
||||||
|
#if !defined(NO_WOLFSSL_SERVER) || \
|
||||||
|
(!defined(NO_WOLFSSL_CLIENT) && !defined(NO_CERTS) && \
|
||||||
|
!defined(WOLFSSL_NO_CLIENT_AUTH))
|
||||||
/**
|
/**
|
||||||
* Send the handshake message. This function handles fragmenting the message
|
* Send the handshake message. This function handles fragmenting the message
|
||||||
* so that it will fit into the desired MTU or the max fragment size.
|
* so that it will fit into the desired MTU or the max fragment size.
|
||||||
@ -8691,6 +8694,9 @@ static int SendHandshakeMsg(WOLFSSL* ssl, byte* input, word32 inputSz,
|
|||||||
ssl->fragOffset = 0;
|
ssl->fragOffset = 0;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
#endif /* !NO_WOLFSSL_SERVER || (!NO_WOLFSSL_CLIENT && !NO_CERTS &&
|
||||||
|
* !WOLFSSL_NO_CLIENT_AUTH) */
|
||||||
|
|
||||||
#endif /* !WOLFSSL_NO_TLS12 */
|
#endif /* !WOLFSSL_NO_TLS12 */
|
||||||
|
|
||||||
|
|
||||||
|
@ -2549,8 +2549,9 @@ exit_buildmsg:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(HAVE_SESSION_TICKET) || !defined(NO_PSK) || \
|
#if !defined(NO_WOLFSSL_CLIENT) || (!defined(NO_WOLFSSL_SERVER) && \
|
||||||
!defined(NO_WOLFSSL_CLIENT)
|
(defined(HAVE_SESSION_TICKET) || !defined(NO_PSK)) && \
|
||||||
|
defined(WOLFSSL_PSK_ONE_ID)) \
|
||||||
/* Find the cipher suite in the suites set in the SSL.
|
/* Find the cipher suite in the suites set in the SSL.
|
||||||
*
|
*
|
||||||
* ssl SSL/TLS object.
|
* ssl SSL/TLS object.
|
||||||
|
Reference in New Issue
Block a user