Skip to content
Snippets Groups Projects
Commit 254dbe7a authored by est31's avatar est31
Browse files

Clarify docs for auth.cpp method

parent a57d83b4
No related branches found
No related tags found
No related merge requests found
......@@ -57,9 +57,9 @@ void getSRPVerifier(const std::string &name,
}
// Get a db-ready SRP verifier
// The salt param is only modifyable by this method so that you can free it
// if it was allocated. You shouldn't use it for other purposes, as you will
// 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.
inline static std::string getSRPVerifier(const std::string &name,
const std::string &password, char ** salt, size_t salt_len)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment