This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <asio.hpp> | |
#include <asio/ssl.hpp> | |
#include <algorithm> | |
#include <atomic> | |
#include <cstdlib> | |
#include <ctime> | |
#include <iostream> | |
#include <memory> | |
#include <thread> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/asio/include/asio/ssl/detail/impl/engine.ipp b/asio/include/asio/ssl/detail/impl/engine.ipp | |
index 139d739..42c5f0f 100644 | |
--- a/asio/include/asio/ssl/detail/impl/engine.ipp | |
+++ b/asio/include/asio/ssl/detail/impl/engine.ipp | |
@@ -202,9 +202,15 @@ const asio::error_code& engine::map_error_code( | |
// If there's data yet to be read, it's an error. | |
if (BIO_wpending(ext_bio_)) | |
{ | |
+#if defined(OPENSSL_IS_BORINGSSL) | |
+ ec = asio::error_code( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <asio.hpp> | |
#include <asio/ssl.hpp> | |
#include <algorithm> | |
#include <atomic> | |
#include <cstdlib> | |
#include <ctime> | |
#include <iostream> | |
#include <memory> | |
#include <thread> |