From 4fe207e7213744ca3f548d1567605a5c4ac4646b Mon Sep 17 00:00:00 2001 From: RonaldReagan Date: Tue, 18 May 2021 06:41:57 -0600 Subject: [PATCH] Move auth files to new private folder within profile --- source/src/crypto.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/src/crypto.cpp b/source/src/crypto.cpp index 9941904e..ec0dfa2c 100644 --- a/source/src/crypto.cpp +++ b/source/src/crypto.cpp @@ -377,7 +377,7 @@ void popMT() // undo last seedMT() #define ENTCHUNKS 32 // pool size (in 128-bytes chunks) #define ENTPOOLSIZE (ENTCHUNKS * 128) -#define ENTROPYSAVEFILE "config" PATHDIVS "entropy.dat" +#define ENTROPYSAVEFILE "private" PATHDIVS "entropy.dat" static uchar *entpool = NULL; @@ -719,8 +719,8 @@ COMMAND(ed25519speedtest, ""); // * it is used during playing to authenticate the player to the server // * needs special protection... -#define AUTHPREPRIVATECFGFILE "config" PATHDIVS "authpreprivate.cfg" -#define AUTHPRIVATECFGFILE "config" PATHDIVS "authprivate.cfg" +#define AUTHPREPRIVATECFGFILE "private" PATHDIVS "authpreprivate.cfg" +#define AUTHPRIVATECFGFILE "private" PATHDIVS "authprivate.cfg" VARP(authmemusage, 2, 24, (1<<10) - 1); // megabytes of RAM to use for password hash (when using a new password) VARP(authrounds, 0, 0, INT_MAX - 1); // create new password hashes with a fixed number of rounds (if authrounds > 0)