mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Clarify docs for auth.cpp method
This commit is contained in:
parent
a57d83b46a
commit
254dbe7abd
1 changed files with 3 additions and 3 deletions
|
@ -57,9 +57,9 @@ void getSRPVerifier(const std::string &name,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get a db-ready SRP verifier
|
// Get a db-ready SRP verifier
|
||||||
// The salt param is only modifyable by this method so that you can free it
|
// If the salt param is NULL, one is automatically generated.
|
||||||
// if it was allocated. You shouldn't use it for other purposes, as you will
|
// Please free() it afterwards. You shouldn't use it for other purposes,
|
||||||
// need the contents of salt_len too.
|
// as you will need the contents of salt_len too.
|
||||||
inline static std::string getSRPVerifier(const std::string &name,
|
inline static std::string getSRPVerifier(const std::string &name,
|
||||||
const std::string &password, char ** salt, size_t salt_len)
|
const std::string &password, char ** salt, size_t salt_len)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue