summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-08-12 06:25:27 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-08-12 06:25:27 +0000
commit028f9759fc27e2df4bff83e05bbcd4ef96450001 (patch)
treefdaa9c429e82278184071a0491445f3d24424536 /regress
parent121279f44cc2a6282487c09b2cac7509773c5bc2 (diff)
Use printf for consistency
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/dh/dhtest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/lib/libcrypto/dh/dhtest.c b/regress/lib/libcrypto/dh/dhtest.c
index cfbfb98c558..47203fa5740 100644
--- a/regress/lib/libcrypto/dh/dhtest.c
+++ b/regress/lib/libcrypto/dh/dhtest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhtest.c,v 1.9 2023/08/12 06:23:59 tb Exp $ */
+/* $OpenBSD: dhtest.c,v 1.10 2023/08/12 06:25:26 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -121,13 +121,13 @@ main(int argc, char *argv[])
if (!DH_check(a, &i))
goto err;
if (i & DH_CHECK_P_NOT_PRIME)
- puts("p value is not prime\n");
+ printf("p value is not prime\n");
if (i & DH_CHECK_P_NOT_SAFE_PRIME)
- puts("p value is not a safe prime\n");
+ printf("p value is not a safe prime\n");
if (i & DH_UNABLE_TO_CHECK_GENERATOR)
- puts("unable to check the generator value\n");
+ printf("unable to check the generator value\n");
if (i & DH_NOT_SUITABLE_GENERATOR)
- puts("the g value is not a generator\n");
+ printf("the g value is not a generator\n");
printf("\np = ");
if (!BN_print_fp(stdout, DH_get0_p(a)))