diff options
| author | Mark Friedenbach <[email protected]> | 2014-10-16 16:16:29 -0700 |
|---|---|---|
| committer | Mark Friedenbach <[email protected]> | 2014-10-17 00:33:31 -0700 |
| commit | d4746d56c0c45b8721da36bc19b2bdaba5d7d094 (patch) | |
| tree | 01304911064e6f0ccce518ab2d7456b89681d0c4 /src/rpcserver.cpp | |
| parent | Merge pull request #5082 (diff) | |
| download | discoin-d4746d56c0c45b8721da36bc19b2bdaba5d7d094.tar.xz discoin-d4746d56c0c45b8721da36bc19b2bdaba5d7d094.zip | |
Add a SECURE style flag for ThreadSafeMessageBox, which indicates that the message contains sensitive information. This keeps the message from being output to the debug log by bitcoind. Fixes a possible security risk when starting bitcoind in server mode without the 'rpcpassword' option configured, resulting in the "suggested" password being output to the debug log.
Diffstat (limited to 'src/rpcserver.cpp')
| -rw-r--r-- | src/rpcserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index 1a41344da..9668c7883 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -581,7 +581,7 @@ void StartRPCThreads() strWhatAmI, GetConfigFile().string(), EncodeBase58(&rand_pwd[0],&rand_pwd[0]+32)), - "", CClientUIInterface::MSG_ERROR); + "", CClientUIInterface::MSG_ERROR | CClientUIInterface::SECURE); StartShutdown(); return; } |