Browse files

Change default password hash to SHA-512.

  • Loading branch information...
1 parent d6ccee8 commit ebcddf8b519ca7536c80edf2877596fecb2e10b7 Shawn Wagner committed Jan 16, 2017
Showing with 2 additions and 1 deletion.
  1. +1 −0 CHANGES.186
  2. +1 −1 src/mycrypt.c
@@ -64,6 +64,7 @@ Minor changes:
* Remove a duplicate message when @chzone'ing a priv'd player. [MG]
* @hooks now always have named registers for left-side args, even if the command isn't eqsplit (see 'help @hook7'). [MG]
* Make SHA-0 dependency optional to support OpenSSL 1.1. [SW]
+ * Change the default hash for player passwords to SHA-512 from SHA-1. [SW]
* Added setsymdiff() [SW]
@@ -20,7 +20,7 @@
#include "strutil.h"
#include "externs.h"
-#define PASSWORD_HASH "sha1"
+#define PASSWORD_HASH "sha512"
bool decode_base64(char *encoded, int len, bool printonly, char *buff,
char **bp);

0 comments on commit ebcddf8

Please sign in to comment.