From 3b364f97f6122618cce35fa24633faaf9ab4e685 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 18 Jan 2016 18:05:48 -0500 Subject: drop libgcrypt because of all its memory leaks; openssl is used instead --- src/auth.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/auth.h') diff --git a/src/auth.h b/src/auth.h index b77a711..0d5293a 100644 --- a/src/auth.h +++ b/src/auth.h @@ -21,10 +21,10 @@ #include "globals.h" #define SALT_LEN 12 -#define ALGO GCRY_MD_SHA512 -#define AUTH_HASHLEN (512/8) -#define HASH_ITERS 500000 -//#define HASH_ITERS 1 +#define AUTH_HASHLEN SHA512_DIGEST_LENGTH +#define AUTH_HASHFUNC SHA512 +//#define HASH_ITERS 500000 +#define HASH_ITERS 1 struct authinfo_t { bool success; -- cgit v1.1