diff options
Diffstat (limited to 'agent/agent.h')
-rw-r--r-- | agent/agent.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/agent/agent.h b/agent/agent.h index 3667e8149..cd5120721 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -36,8 +36,15 @@ #include "../common/errors.h" #include "membuf.h" +/* 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) -#define MAX_DIGEST_LEN 24 +/* Maximum length of a digest. */ +#define MAX_DIGEST_LEN 36 /* A large struct name "opt" to keep global flags */ struct |