summaryrefslogtreecommitdiff
path: root/trust/parser.c
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-03-20 08:59:49 +0100
committerStef Walter <stefw@gnome.org>2013-03-20 09:31:50 +0100
commit1dc227b4fce16fcc721276925492f4ba4db00b4f (patch)
tree1a0b070061e27e967c07208f2f21891c29969986 /trust/parser.c
parentef8c54a355d3f9814cc53a0aad72d61247b169a0 (diff)
downloadp11-kit-1dc227b4fce16fcc721276925492f4ba4db00b4f.tar.gz
hash: Rename file and functions for hashes
We're going to be adding other hashes. Also build as part of a different common library.
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,