From 1dc227b4fce16fcc721276925492f4ba4db00b4f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 20 Mar 2013 08:59:49 +0100 Subject: hash: Rename file and functions for hashes We're going to be adding other hashes. Also build as part of a different common library. --- common/x509.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/x509.c') 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; } -- cgit v1.1