-/* $OpenBSD: cttest.c,v 1.6 2023/04/14 12:37:20 tb Exp $ */
+/* $OpenBSD: cttest.c,v 1.7 2023/04/14 14:14:39 tb Exp $ */
/*
* Copyright (c) 2021 Joel Sing <jsing@openbsd.org>
*
}
if (SCT_get_timestamp(sct) != sdt->timestamp) {
fprintf(stderr, "FAIL: SCT %d - got timestamp %llu, "
- "want %llu\n", i, SCT_get_timestamp(sct),
- sdt->timestamp);
+ "want %llu\n", i,
+ (unsigned long long)SCT_get_timestamp(sct),
+ (unsigned long long)sdt->timestamp);
goto failure;
}
if (SCT_get_signature_nid(sct) != sdt->signature_nid) {