diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-20 08:59:49 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-20 09:31:50 +0100 |
commit | 1dc227b4fce16fcc721276925492f4ba4db00b4f (patch) | |
tree | 1a0b070061e27e967c07208f2f21891c29969986 /common/x509.c | |
parent | ef8c54a355d3f9814cc53a0aad72d61247b169a0 (diff) |
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 'common/x509.c')
-rw-r--r-- | common/x509.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/x509.c b/common/x509.c index ae1c810..aa6e171 100644 --- a/common/x509.c +++ b/common/x509.c @@ -36,8 +36,8 @@ #include "asn1.h" #define P11_DEBUG_FLAG P11_DEBUG_TRUST -#include "checksum.h" #include "debug.h" +#include "hash.h" #include "oid.h" #include "utf8.h" #include "x509.h" @@ -121,7 +121,7 @@ p11_x509_calc_keyid (node_asn *cert, return_val_if_fail (ret == ASN1_SUCCESS, false); return_val_if_fail (end >= start, false); - p11_checksum_sha1 (keyid, (der + start), (end - start) + 1, NULL); + p11_hash_sha1 (keyid, (der + start), (end - start) + 1, NULL); return true; } |