Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/28914)
}
} else if (ssl_pending
|| (!isquic && FD_ISSET(SSL_get_fd(con), &readfds))) {
-#ifdef RENEG
- {
- static int iiii;
- if (++iiii == 52) {
- SSL_renegotiate(con);
- iiii = 0;
- }
- }
-#endif
k = SSL_read(con, sbuf, BUFSIZZ);
switch (SSL_get_error(con, k)) {