Alert level must be cleared or ProcessReply will loop indefinitely

This commit is contained in:
Juliusz Sosinowicz 2020-06-16 23:21:54 +02:00
parent b9f13dba61
commit 90caeaf925

View File

@ -15629,6 +15629,10 @@ int ProcessReply(WOLFSSL* ssl)
if (type == decrypt_error)
return FATAL_ERROR;
/* Reset error if we got an alert level in ret */
if (ret > 0)
ret = 0;
break;
default: