diff options
author | est31 <MTest31@outlook.com> | 2015-07-21 18:03:59 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-07-21 18:14:39 +0200 |
commit | 254dbe7abd255075b16db35b821566ed51fa850e (patch) | |
tree | 1bcfd78a12b1c74c6bda818abd8604841942767f /src/util/auth.cpp | |
parent | a57d83b46af03313355d83924cfb53f4987cc48f (diff) | |
download | minetest-254dbe7abd255075b16db35b821566ed51fa850e.tar.gz minetest-254dbe7abd255075b16db35b821566ed51fa850e.tar.bz2 minetest-254dbe7abd255075b16db35b821566ed51fa850e.zip |
Clarify docs for auth.cpp method
Diffstat (limited to 'src/util/auth.cpp')
-rw-r--r-- | src/util/auth.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/auth.cpp b/src/util/auth.cpp index ac5139535..df8940e87 100644 --- a/src/util/auth.cpp +++ b/src/util/auth.cpp @@ -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) { |