summaryrefslogtreecommitdiffstats
path: root/apps/dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dh.c')
-rw-r--r--apps/dh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/dh.c b/apps/dh.c
index b3c20e2b5c..674963f81a 100644
--- a/apps/dh.c
+++ b/apps/dh.c
@@ -1,4 +1,5 @@
/* apps/dh.c */
+/* obsoleted by dhparam.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -234,8 +235,8 @@ bad:
}
if (i & DH_CHECK_P_NOT_PRIME)
printf("p value is not prime\n");
- if (i & DH_CHECK_P_NOT_STRONG_PRIME)
- printf("p value is not a strong prime\n");
+ if (i & DH_CHECK_P_NOT_SAFE_PRIME)
+ printf("p value is not a safe prime\n");
if (i & DH_UNABLE_TO_CHECK_GENERATOR)
printf("unable to check the generator value\n");
if (i & DH_NOT_SUITABLE_GENERATOR)