summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/bn/bn_general.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/regress/lib/libcrypto/bn/bn_general.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_general.c b/src/regress/lib/libcrypto/bn/bn_general.c
index 94f7af19ef..622cbaf105 100644
--- a/src/regress/lib/libcrypto/bn/bn_general.c
+++ b/src/regress/lib/libcrypto/bn/bn_general.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_general.c,v 1.1 2023/04/10 19:02:30 jsing Exp $ */ 1/* $OpenBSD: bn_general.c,v 1.2 2023/04/11 05:53:53 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2022, 2023 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2022, 2023 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -148,7 +148,7 @@ benchmark_run(const struct benchmark *bm, int seconds)
148 timespecsub(&end, &start, &duration); 148 timespecsub(&end, &start, &duration);
149 fprintf(stderr, "%d iterations in %f seconds - %llu op/s\n", i, 149 fprintf(stderr, "%d iterations in %f seconds - %llu op/s\n", i,
150 duration.tv_sec + duration.tv_nsec / 1000000000.0, 150 duration.tv_sec + duration.tv_nsec / 1000000000.0,
151 (size_t)i * 1000000000 / 151 (uint64_t)i * 1000000000 /
152 (duration.tv_sec * 1000000000 + duration.tv_nsec)); 152 (duration.tv_sec * 1000000000 + duration.tv_nsec));
153 153
154 BN_free(src); 154 BN_free(src);