From c4ace8cd8e45d7b58fbeac8717652362478893a6 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 20 Apr 2019 17:36:45 -0700 Subject: [PATCH] ircd::client: Remove deprecated SSL_R_SHORT_READ for OpenSSL 1.1. --- ircd/client.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ircd/client.cc b/ircd/client.cc index 9b7c0c5dd..6e91043b2 100644 --- a/ircd/client.cc +++ b/ircd/client.cc @@ -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);