diff options
Diffstat (limited to 'src/gcrypt/globals.h')
-rw-r--r-- | src/gcrypt/globals.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gcrypt/globals.h b/src/gcrypt/globals.h new file mode 100644 index 00000000..7bc03c1c --- /dev/null +++ b/src/gcrypt/globals.h @@ -0,0 +1,30 @@ +/* + * XML Security Library + * + * globals.h: internal header only used during the compilation + * + * This is free software; see Copyright file in the source + * distribution for preciese wording. + * + * Copyright (C) 2002-2003 Aleksey Sanin <aleksey@aleksey.com> + */ +#ifndef __XMLSEC_GLOBALS_H__ +#define __XMLSEC_GLOBALS_H__ + +/** + * Use autoconf defines if present. + */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif /* HAVE_CONFIG_H */ + +#define IN_XMLSEC_CRYPTO +#define XMLSEC_PRIVATE + + +#define XMLSEC_GCRYPT_MAX_DIGEST_SIZE 256 +#define XMLSEC_GCRYPT_REPORT_ERROR(err) \ + "error code=%d; error message='%s'", \ + (int)err, xmlSecErrorsSafeString(gcry_strerror((err))) + +#endif /* ! __XMLSEC_GLOBALS_H__ */ |