diff options
author | Werner Koch <[email protected]> | 2006-10-24 14:45:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-10-24 14:45:34 +0000 |
commit | a2786169f2e17f67595c96f383e780b9548a6b6c (patch) | |
tree | 8c5571293aca13b0b539050a6f1af44cbb908e30 /scd/scdaemon.h | |
parent | 2006-10-24 Marcus Brinkmann <[email protected]> (diff) | |
download | gnupg-a2786169f2e17f67595c96f383e780b9548a6b6c.tar.gz gnupg-a2786169f2e17f67595c96f383e780b9548a6b6c.zip |
Preparing another releasegnupg-1.9.94
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 |