mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Jenkins tests fixes
This commit is contained in:
committed by
Unknown
parent
eb910a64d0
commit
c2ca9f614e
@@ -15445,7 +15445,7 @@ int ProcessReply(WOLFSSL* ssl)
|
|||||||
|
|
||||||
if (IsEncryptionOn(ssl, 0) && ssl->options.handShakeDone) {
|
if (IsEncryptionOn(ssl, 0) && ssl->options.handShakeDone) {
|
||||||
ssl->buffers.inputBuffer.idx += ssl->keys.padSz;
|
ssl->buffers.inputBuffer.idx += ssl->keys.padSz;
|
||||||
ssl->curSize -= ssl->keys.padSz;
|
ssl->curSize -= (word16)ssl->keys.padSz;
|
||||||
#ifdef HAVE_AEAD
|
#ifdef HAVE_AEAD
|
||||||
if (ssl->specs.cipher_type == aead &&
|
if (ssl->specs.cipher_type == aead &&
|
||||||
ssl->specs.bulk_cipher_algorithm != wolfssl_chacha)
|
ssl->specs.bulk_cipher_algorithm != wolfssl_chacha)
|
||||||
@@ -17273,7 +17273,9 @@ static int BuildCertificateStatus(WOLFSSL* ssl, byte type, buffer* status,
|
|||||||
return MEMORY_E;
|
return MEMORY_E;
|
||||||
|
|
||||||
XMEMCPY(input, output + recordHeaderSz, inputSz);
|
XMEMCPY(input, output + recordHeaderSz, inputSz);
|
||||||
|
#ifdef WOLFSSL_DTLS
|
||||||
ret = DtlsMsgPoolSave(ssl, input, inputSz, certificate_status);
|
ret = DtlsMsgPoolSave(ssl, input, inputSz, certificate_status);
|
||||||
|
#endif
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
sendSz = BuildMessage(ssl, output, sendSz, input, inputSz,
|
sendSz = BuildMessage(ssl, output, sendSz, input, inputSz,
|
||||||
handshake, 1, 0, 0, CUR_ORDER);
|
handshake, 1, 0, 0, CUR_ORDER);
|
||||||
@@ -24250,9 +24252,10 @@ int SendCertificateVerify(WOLFSSL* ssl)
|
|||||||
if (IsDtlsNotSctpMode(ssl)) {
|
if (IsDtlsNotSctpMode(ssl)) {
|
||||||
ret = DtlsMsgPoolSave(ssl, args->output, args->sendSz, certificate_verify);
|
ret = DtlsMsgPoolSave(ssl, args->output, args->sendSz, certificate_verify);
|
||||||
}
|
}
|
||||||
if (ssl->options.dtls)
|
if (ret == 0 && ssl->options.dtls)
|
||||||
DtlsSEQIncrement(ssl, CUR_ORDER);
|
DtlsSEQIncrement(ssl, CUR_ORDER);
|
||||||
#endif
|
#endif
|
||||||
|
if (ret == 0)
|
||||||
ret = HashOutput(ssl, args->output, args->sendSz, 0);
|
ret = HashOutput(ssl, args->output, args->sendSz, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user