mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Alert level must be cleared or ProcessReply will loop indefinitely
This commit is contained in:
@ -15629,6 +15629,10 @@ int ProcessReply(WOLFSSL* ssl)
|
|||||||
|
|
||||||
if (type == decrypt_error)
|
if (type == decrypt_error)
|
||||||
return FATAL_ERROR;
|
return FATAL_ERROR;
|
||||||
|
|
||||||
|
/* Reset error if we got an alert level in ret */
|
||||||
|
if (ret > 0)
|
||||||
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user