From a2786169f2e17f67595c96f383e780b9548a6b6c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 24 Oct 2006 14:45:34 +0000 Subject: Preparing another release --- scd/scdaemon.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'scd/scdaemon.h') diff --git a/scd/scdaemon.h b/scd/scdaemon.h index 40a398856..2d20b0231 100644 --- a/scd/scdaemon.h +++ b/scd/scdaemon.h @@ -34,7 +34,17 @@ #include "../common/errors.h" -#define MAX_DIGEST_LEN 24 +/* To convey some special hash algorithms we use algorithm numbers + reserved for application use. */ +#ifndef GCRY_MD_USER +#define GCRY_MD_USER 1024 +#endif +#define GCRY_MD_USER_TLS_MD5SHA1 (GCRY_MD_USER+1) + +/* Maximum length of a digest. */ +#define MAX_DIGEST_LEN 36 + + /* A large struct name "opt" to keep global flags. */ struct -- cgit v1.2.3