diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2004-02-27 22:44:57 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2004-02-27 22:44:57 +0000 |
commit | 8834cdbf6e70b1542a69be5b2a4b6516bda4cce7 (patch) | |
tree | 8bc1f643569a300dd07e01c3e692553083268b77 | |
parent | ff0f59e6b3c787cc8032e2adc01f9891dd812336 (diff) |
Make /etc/moduli line buffer big enough for 8kbit primes, in case anyone
ever uses one. ok markus@
-rw-r--r-- | usr.bin/ssh/dh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/dh.c b/usr.bin/ssh/dh.c index b58b8bc28c0..0790aff79b0 100644 --- a/usr.bin/ssh/dh.c +++ b/usr.bin/ssh/dh.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: dh.c,v 1.27 2004/02/27 22:42:47 dtucker Exp $"); +RCSID("$OpenBSD: dh.c,v 1.28 2004/02/27 22:44:56 dtucker Exp $"); #include "xmalloc.h" @@ -108,7 +108,7 @@ DH * choose_dh(int min, int wantbits, int max) { FILE *f; - char line[2048]; + char line[4096]; int best, bestcount, which; int linenum; struct dhgroup dhg; |