We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a57d83b commit 254dbe7Copy full SHA for 254dbe7
src/util/auth.cpp
@@ -57,9 +57,9 @@ void getSRPVerifier(const std::string &name,
57
}
58
59
// Get a db-ready SRP verifier
60
-// The salt param is only modifyable by this method so that you can free it
61
-// if it was allocated. You shouldn't use it for other purposes, as you will
62
-// need the contents of salt_len too.
+// If the salt param is NULL, one is automatically generated.
+// Please free() it afterwards. You shouldn't use it for other purposes,
+// as you will need the contents of salt_len too.
63
inline static std::string getSRPVerifier(const std::string &name,
64
const std::string &password, char ** salt, size_t salt_len)
65
{
0 commit comments