mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge b75f2ad72d into merged_master (Bitcoin PR #19660)
This commit is contained in:
commit
419fd4f90d
17 changed files with 53 additions and 73 deletions
|
|
@ -78,7 +78,7 @@ bool GenerateAuthCookie(std::string *cookie_out)
|
|||
const size_t COOKIE_SIZE = 32;
|
||||
unsigned char rand_pwd[COOKIE_SIZE];
|
||||
GetRandBytes(rand_pwd, COOKIE_SIZE);
|
||||
std::string cookie = COOKIEAUTH_USER + ":" + HexStr(rand_pwd, rand_pwd+COOKIE_SIZE);
|
||||
std::string cookie = COOKIEAUTH_USER + ":" + HexStr(rand_pwd);
|
||||
|
||||
/** the umask determines what permissions are used to create this file -
|
||||
* these are set to 077 in init.cpp unless overridden with -sysperms.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue