mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::client: Remove deprecated SSL_R_SHORT_READ for OpenSSL 1.1.
This commit is contained in:
parent
2a0b3994f9
commit
c4ace8cd8e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue