summaryrefslogtreecommitdiff
path: root/tests/vboot_common2_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vboot_common2_tests.c')
-rw-r--r--tests/vboot_common2_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vboot_common2_tests.c b/tests/vboot_common2_tests.c
index a867f723..981b4286 100644
--- a/tests/vboot_common2_tests.c
+++ b/tests/vboot_common2_tests.c
@@ -120,7 +120,7 @@ static void ReSignKernelPreamble(VbKernelPreambleHeader *h,
struct vb2_signature *sig = vb2_calculate_signature(
(const uint8_t *)h, h->preamble_signature.data_size, key);
- SignatureCopy(&h->preamble_signature, (VbSignature *)sig);
+ vb2_copy_signature((struct vb2_signature *)&h->preamble_signature, sig);
free(sig);
}