summaryrefslogtreecommitdiff
path: root/common/x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/x509.c')
-rw-r--r--common/x509.c4
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;
}