mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
fix whitespace/linelength/indentation.
This commit is contained in:
@@ -259,7 +259,7 @@ static int Dtls13GetRnMask(WOLFSSL* ssl, const byte* ciphertext, byte* mask,
|
|||||||
#ifdef HAVE_CHACHA
|
#ifdef HAVE_CHACHA
|
||||||
if (ssl->specs.bulk_cipher_algorithm == wolfssl_chacha) {
|
if (ssl->specs.bulk_cipher_algorithm == wolfssl_chacha) {
|
||||||
word32 counter;
|
word32 counter;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (c->chacha == NULL)
|
if (c->chacha == NULL)
|
||||||
return BAD_STATE_E;
|
return BAD_STATE_E;
|
||||||
|
11
src/tls13.c
11
src/tls13.c
@@ -6169,9 +6169,10 @@ int SendTls13ServerHello(WOLFSSL* ssl, byte extMsgType)
|
|||||||
{
|
{
|
||||||
#ifdef WOLFSSL_DTLS13
|
#ifdef WOLFSSL_DTLS13
|
||||||
if (ssl->options.dtls) {
|
if (ssl->options.dtls) {
|
||||||
ret = Dtls13HashHandshake(ssl,
|
ret = Dtls13HashHandshake(
|
||||||
output + Dtls13GetRlHeaderLength(ssl, 0) ,
|
ssl,
|
||||||
(word16)sendSz - Dtls13GetRlHeaderLength(ssl, 0));
|
output + Dtls13GetRlHeaderLength(ssl, 0) ,
|
||||||
|
(word16)sendSz - Dtls13GetRlHeaderLength(ssl, 0));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif /* WOLFSSL_DTLS13 */
|
#endif /* WOLFSSL_DTLS13 */
|
||||||
@@ -6452,7 +6453,7 @@ static int SendTls13CertificateRequest(WOLFSSL* ssl, byte* reqCtx,
|
|||||||
ssl->options.buildingMsg = 0;
|
ssl->options.buildingMsg = 0;
|
||||||
ret =
|
ret =
|
||||||
Dtls13HandshakeSend(ssl, output, (word16)sendSz, (word16)i,
|
Dtls13HandshakeSend(ssl, output, (word16)sendSz, (word16)i,
|
||||||
certificate_request, 1);
|
certificate_request, 1);
|
||||||
|
|
||||||
WOLFSSL_LEAVE("SendTls13CertificateRequest", ret);
|
WOLFSSL_LEAVE("SendTls13CertificateRequest", ret);
|
||||||
WOLFSSL_END(WC_FUNC_CERTIFICATE_REQUEST_SEND);
|
WOLFSSL_END(WC_FUNC_CERTIFICATE_REQUEST_SEND);
|
||||||
@@ -7263,7 +7264,7 @@ static int SendTls13Certificate(WOLFSSL* ssl)
|
|||||||
ssl->options.buildingMsg = 0;
|
ssl->options.buildingMsg = 0;
|
||||||
ssl->fragOffset = 0;
|
ssl->fragOffset = 0;
|
||||||
ret = Dtls13HandshakeSend(ssl, output, (word16)sendSz, (word16)i,
|
ret = Dtls13HandshakeSend(ssl, output, (word16)sendSz, (word16)i,
|
||||||
certificate, 1);
|
certificate, 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif /* WOLFSSL_DTLS13 */
|
#endif /* WOLFSSL_DTLS13 */
|
||||||
|
Reference in New Issue
Block a user