commit | 7249bcc143279fea6a8f285c3ffa217fb909e287 | [log] [tgz] |
---|---|---|
author | Christopher Kohlhoff <chris@kohlhoff.com> | Sun Sep 11 09:16:14 2016 +1000 |
committer | Christopher Kohlhoff <chris@kohlhoff.com> | Sun Sep 11 12:49:09 2016 +1000 |
tree | ecf14b7a1cf8c062bcb96b879428e6d8d4167b6f | |
parent | 503b8bb172240dfd3cf2b986799165c223c02a57 [diff] |
Backward compatibility for code using OpenSSL < 1.1.0. Some application code using asio::ssl::stream<> explicitly tests for the SSL_R_SHORT_READ error. For compatibility, when using older versions of OpenSSL we will define the ssl::error::stream_truncated to use this value.