summaryrefslogtreecommitdiff
path: root/dh.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2016-12-15 21:20:41 +0000
committerDamien Miller <djm@mindrot.org>2016-12-16 13:12:18 +1100
commitdcc7d74242a574fd5c4afbb4224795b1644321e7 (patch)
treee7226446bef5ffd83acc0538f1bd7c1e519b8f51 /dh.c
parentb737e4d7433577403a31cff6614f6a1b0b5e22f4 (diff)
upstream commit
Fix text in error message. Patch from zev at bewilderbeest.net. Upstream-ID: deb0486e175e7282f98f9a15035d76c55c84f7f6
Diffstat (limited to 'dh.c')
-rw-r--r--dh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh.c b/dh.c
index 194f29b15..475312427 100644
--- a/dh.c
+++ b/dh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh.c,v 1.61 2016/09/12 01:22:38 deraadt Exp $ */ 1/* $OpenBSD: dh.c,v 1.62 2016/12/15 21:20:41 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Niels Provos. All rights reserved. 3 * Copyright (c) 2000 Niels Provos. All rights reserved.
4 * 4 *
@@ -152,7 +152,7 @@ choose_dh(int min, int wantbits, int max)
152 struct dhgroup dhg; 152 struct dhgroup dhg;
153 153
154 if ((f = fopen(_PATH_DH_MODULI, "r")) == NULL) { 154 if ((f = fopen(_PATH_DH_MODULI, "r")) == NULL) {
155 logit("WARNING: could open open %s (%s), using fixed modulus", 155 logit("WARNING: could not open %s (%s), using fixed modulus",
156 _PATH_DH_MODULI, strerror(errno)); 156 _PATH_DH_MODULI, strerror(errno));
157 return (dh_new_group_fallback(max)); 157 return (dh_new_group_fallback(max));
158 } 158 }