summaryrefslogtreecommitdiff
path: root/host/lib/host_keyblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/host_keyblock.c')
-rw-r--r--host/lib/host_keyblock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/host_keyblock.c b/host/lib/host_keyblock.c
index e4497727..21fa0995 100644
--- a/host/lib/host_keyblock.c
+++ b/host/lib/host_keyblock.c
@@ -131,10 +131,10 @@ struct vb2_keyblock *vb2_create_keyblock_external(
free(chk);
/* Calculate signature */
-struct vb2_signature *sigtmp = (struct vb2_signature *)
- CalculateSignature_external((uint8_t*)h, signed_size,
- signing_key_pem_file, algorithm,
- external_signer);
+ struct vb2_signature *sigtmp =
+ vb2_external_signature((uint8_t*)h, signed_size,
+ signing_key_pem_file, algorithm,
+ external_signer);
free(sigtmp);
/* Return the header */