summaryrefslogtreecommitdiff
path: root/trust/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'trust/parser.c')
-rw-r--r--trust/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trust/parser.c b/trust/parser.c
index 42d74fc..91fd5e8 100644
--- a/trust/parser.c
+++ b/trust/parser.c
@@ -37,10 +37,10 @@
#include "array.h"
#include "asn1.h"
#include "attrs.h"
-#include "checksum.h"
#define P11_DEBUG_FLAG P11_DEBUG_TRUST
#include "debug.h"
#include "dict.h"
+#include "hash.h"
#include "library.h"
#include "module.h"
#include "oid.h"
@@ -71,7 +71,7 @@ struct _p11_parser {
int flags;
};
-#define ID_LENGTH P11_CHECKSUM_SHA1_LENGTH
+#define ID_LENGTH P11_HASH_SHA1_LEN
typedef int (* parser_func) (p11_parser *parser,
const unsigned char *data,