We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d2e820 commit 830b101Copy full SHA for 830b101
src/zmq/certificate.cpp
@@ -79,7 +79,7 @@ bool certificate::create(config::sodium& out_public,
79
{
80
// Loop until neither key's base85 encoding includes the # character.
81
// This ensures that the value can be used in libbitcoin settings files.
82
- for (uint8_t attempt = 0; attempt <= max_uint8; attempt++)
+ while (true)
83
84
char public_key[zmq_encoded_key_size + 1] = { 0 };
85
char private_key[zmq_encoded_key_size + 1] = { 0 };
@@ -95,8 +95,6 @@ bool certificate::create(config::sodium& out_public,
95
return out_public;
96
}
97
98
-
99
- return false;
100
101
102
certificate::operator bool() const
0 commit comments