Store RetrySendAlert error in ssl->error

This commit is contained in:
Juliusz Sosinowicz
2022-06-01 14:59:10 +02:00
parent c74315f1ef
commit df10e1fad2

View File

@ -20294,8 +20294,10 @@ int SendData(WOLFSSL* ssl, const void* data, int sz)
}
ret = RetrySendAlert(ssl);
if (ret != 0)
return ret;
if (ret != 0) {
ssl->error = ret;
return WOLFSSL_FATAL_ERROR;
}
for (;;) {
byte* out;