diff options
author | Stef Walter <stef@thewalter.net> | 2013-07-10 14:28:15 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-07-10 15:07:55 +0200 |
commit | edd04b610c1c83f26ed036569ad95b89a41fc558 (patch) | |
tree | 7ec7040b9ef612b36a399592c018c0a131ddfa75 /trust/parser.c | |
parent | eca5a6e491f5f85ba1f06afcea3177c3442ae557 (diff) | |
download | p11-kit-edd04b610c1c83f26ed036569ad95b89a41fc558.tar.gz |
Add support for using freebl3 for SHA1 and MD5 hashing
Since we don't want to link freebl3 to libp11-kit.so where it isn't
needed, move the SHA-1 and MD5 digest functionality to the trust/
directory.
Diffstat (limited to 'trust/parser.c')
-rw-r--r-- | trust/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trust/parser.c b/trust/parser.c index 3d5bae7..97f549d 100644 --- a/trust/parser.c +++ b/trust/parser.c @@ -40,7 +40,7 @@ #define P11_DEBUG_FLAG P11_DEBUG_TRUST #include "debug.h" #include "dict.h" -#include "hash.h" +#include "digest.h" #include "message.h" #include "module.h" #include "oid.h" @@ -75,7 +75,7 @@ struct _p11_parser { int flags; }; -#define ID_LENGTH P11_HASH_SHA1_LEN +#define ID_LENGTH P11_DIGEST_SHA1_LEN typedef int (* parser_func) (p11_parser *parser, const unsigned char *data, |