0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::client: Remove deprecated SSL_R_SHORT_READ for OpenSSL 1.1.

This commit is contained in:
Jason Volk 2019-04-20 17:36:45 -07:00
parent 2a0b3994f9
commit c4ace8cd8e

View file

@ -491,7 +491,9 @@ ircd::handle_ec(client &client,
}
else if(ec.category() == get_ssl_category()) switch(uint8_t(ec.value()))
{
#ifdef SSL_R_SHORT_READ
case SSL_R_SHORT_READ: return handle_ec_short_read(client);
#endif
default: return handle_ec_default(client, ec);
}
else return handle_ec_default(client, ec);