aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-10-20 11:25:54 +0200
committerWladimir J. van der Laan <[email protected]>2014-10-20 11:36:40 +0200
commit64ffc995d685cf8a53ef868572e835ce42269ec6 (patch)
tree379c2207b7818d2d4b2359fbf6bf2fb48f98f164 /src/ui_interface.h
parentMerge pull request #4468 (diff)
parentAdd a SECURE style flag for ThreadSafeMessageBox, which indicates that the me... (diff)
downloaddiscoin-64ffc995d685cf8a53ef868572e835ce42269ec6.tar.xz
discoin-64ffc995d685cf8a53ef868572e835ce42269ec6.zip
Merge pull request #5095
d4746d5 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. (Mark Friedenbach)
Diffstat (limited to 'src/ui_interface.h')
-rw-r--r--src/ui_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui_interface.h b/src/ui_interface.h
index f5224ba57..1231d5ed0 100644
--- a/src/ui_interface.h
+++ b/src/ui_interface.h
@@ -63,6 +63,9 @@ public:
/** Force blocking, modal message box dialog (not just OS notification) */
MODAL = 0x10000000U,
+ /** Do not print contents of message to debug log */
+ SECURE = 0x40000000U,
+
/** Predefined combinations for certain default usage cases */
MSG_INFORMATION = ICON_INFORMATION,
MSG_WARNING = (ICON_WARNING | BTN_OK | MODAL),