aboutsummaryrefslogtreecommitdiff
path: root/src/auth.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2016-01-18 14:59:35 -0500
committerFranklin Wei <git@fwei.tk>2016-01-18 14:59:35 -0500
commit344a56010938c28225c3d145d5191c8fb8234288 (patch)
tree49fe35f68d9f69d917dbd87aa177b5260c286699 /src/auth.h
parenta8cdc61833ab16dcb0d0d8364710d55759cc0293 (diff)
downloadnetcosm-344a56010938c28225c3d145d5191c8fb8234288.zip
netcosm-344a56010938c28225c3d145d5191c8fb8234288.tar.gz
netcosm-344a56010938c28225c3d145d5191c8fb8234288.tar.bz2
netcosm-344a56010938c28225c3d145d5191c8fb8234288.tar.xz
fix a synchronization bug, better word wrapping, and pretty telnet
Diffstat (limited to 'src/auth.h')
-rw-r--r--src/auth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth.h b/src/auth.h
index 578f6d8..b77a711 100644
--- a/src/auth.h
+++ b/src/auth.h
@@ -23,8 +23,8 @@
#define SALT_LEN 12
#define ALGO GCRY_MD_SHA512
#define AUTH_HASHLEN (512/8)
-//#define HASH_ITERS 500000
-#define HASH_ITERS 1
+#define HASH_ITERS 500000
+//#define HASH_ITERS 1
struct authinfo_t {
bool success;