diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-12-08 13:30:21 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-12-08 13:31:13 +0100 |
| commit | 4b5b263ac0ee44fe432a713b444df9880cfce4a2 (patch) | |
| tree | 0dd9278f51453adcedf1dfa6d5179a23547eccf6 /src/bitcoin-cli.cpp | |
| parent | Merge pull request #5436 (diff) | |
| parent | Disable SSLv3 (in favor of TLS) for the RPC client and server. (diff) | |
| download | discoin-4b5b263ac0ee44fe432a713b444df9880cfce4a2.tar.xz discoin-4b5b263ac0ee44fe432a713b444df9880cfce4a2.zip | |
Merge pull request #5434
683dc40 Disable SSLv3 (in favor of TLS) for the RPC client and server. (Gregory Maxwell)
Diffstat (limited to 'src/bitcoin-cli.cpp')
| -rw-r--r-- | src/bitcoin-cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 1b638e99e..ea349b197 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -110,7 +110,7 @@ Object CallRPC(const string& strMethod, const Array& params) bool fUseSSL = GetBoolArg("-rpcssl", false); asio::io_service io_service; ssl::context context(io_service, ssl::context::sslv23); - context.set_options(ssl::context::no_sslv2); + context.set_options(ssl::context::no_sslv2 | ssl::context::no_sslv3); asio::ssl::stream<asio::ip::tcp::socket> sslStream(io_service, context); SSLIOStreamDevice<asio::ip::tcp> d(sslStream, fUseSSL); iostreams::stream< SSLIOStreamDevice<asio::ip::tcp> > stream(d); |