Skip to content

Commit 254dbe7

Browse files
committedJul 21, 2015
Clarify docs for auth.cpp method
1 parent a57d83b commit 254dbe7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

Diff for: ‎src/util/auth.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ void getSRPVerifier(const std::string &name,
5757
}
5858

5959
// 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.
60+
// If the salt param is NULL, one is automatically generated.
61+
// Please free() it afterwards. You shouldn't use it for other purposes,
62+
// as you will need the contents of salt_len too.
6363
inline static std::string getSRPVerifier(const std::string &name,
6464
const std::string &password, char ** salt, size_t salt_len)
6565
{

0 commit comments

Comments
 (0)
Please sign in to comment.