diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-02-29 20:13:34 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-02-29 20:13:34 +1100 |
commit | c56c7ef592e9dded048faa1443049679aacc0421 (patch) | |
tree | 6bb762c15f364413e3e32ba4726becb5a8b49a6b /dh.c | |
parent | fc113c97a3935896869e8bccf7a70cb7c7ed95d3 (diff) |
- dtucker@cvs.openbsd.org 2004/02/27 22:44:56
[dh.c]
Make /etc/moduli line buffer big enough for 8kbit primes, in case anyone
ever uses one. ok markus@
Diffstat (limited to 'dh.c')
-rw-r--r-- | dh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: dh.c,v 1.27 2004/02/27 22:42:47 dtucker Exp $"); | 26 | RCSID("$OpenBSD: dh.c,v 1.28 2004/02/27 22:44:56 dtucker Exp $"); |
27 | 27 | ||
28 | #include "xmalloc.h" | 28 | #include "xmalloc.h" |
29 | 29 | ||
@@ -108,7 +108,7 @@ DH * | |||
108 | choose_dh(int min, int wantbits, int max) | 108 | choose_dh(int min, int wantbits, int max) |
109 | { | 109 | { |
110 | FILE *f; | 110 | FILE *f; |
111 | char line[2048]; | 111 | char line[4096]; |
112 | int best, bestcount, which; | 112 | int best, bestcount, which; |
113 | int linenum; | 113 | int linenum; |
114 | struct dhgroup dhg; | 114 | struct dhgroup dhg; |