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 ff4eb95 commit 6b55060Copy full SHA for 6b55060
test/main.cpp
@@ -221,8 +221,8 @@ int main(int argc, char** argv)
221
char base32_new_secret[base32_len + 1];
222
memset(&base32_new_secret, 0, base32_len + 1);
223
224
- OTP::random_base32(base32_len, base32_new_secret);
225
- cout << "Random Generated BASE32 Secret: `" << base32_new_secret << "`" << endl;
+ int random_otp_err = OTP::random_base32(base32_len, base32_new_secret);
+ cout << "Random Generated BASE32 Secret pass=1: `" << base32_new_secret << "` `" << random_otp_err << "`" << endl;
226
227
cout << endl; // line break for readability
228
0 commit comments