mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Changes in response to other PRs
This commit is contained in:
@ -2312,14 +2312,9 @@ int DecryptTls13(WOLFSSL* ssl, byte* output, const byte* input, word16 sz,
|
||||
if (ret != CRYPTOCB_UNAVAILABLE) {
|
||||
#ifndef WOLFSSL_EARLY_DATA
|
||||
if (ret < 0) {
|
||||
if (doAlert) {
|
||||
SendAlert(ssl, alert_fatal, bad_record_mac);
|
||||
}
|
||||
ret = VERIFY_MAC_ERROR;
|
||||
WOLFSSL_ERROR_VERBOSE(ret);
|
||||
}
|
||||
#else
|
||||
(void)doAlert;
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
@ -2794,9 +2794,8 @@ int wc_tsip_generateVerifyData(
|
||||
WOLFSSL_LEAVE("tsip_generateVerifyData", BAD_FUNC_ARG);
|
||||
return BAD_FUNC_ARG;
|
||||
}
|
||||
if (XSTRNCMP((const char*)side, (const char*)tls_server, FINISHED_LABEL_SZ)
|
||||
== 0)
|
||||
{
|
||||
if (XSTRNCMP((const char*)side, (const char*)kTlsServerFinStr,
|
||||
FINISHED_LABEL_SZ) == 0) {
|
||||
l_side = R_TSIP_TLS_GENERATE_SERVER_VERIFY;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user