Skip to content

Commit

Permalink
Clarify docs for auth.cpp method
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Jul 21, 2015
1 parent a57d83b commit 254dbe7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/util/auth.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit 254dbe7

Please sign in to comment.