diff options
Diffstat (limited to 'scd/scdaemon.h')
-rw-r--r-- | scd/scdaemon.h | 12 |
1 files changed, 11 insertions, 1 deletions
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 |