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 | |
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@
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | dh.c | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -7,6 +7,10 @@ | |||
7 | [dh.c] | 7 | [dh.c] |
8 | Prevent sshd from sending DH groups with a primitive generator of zero or | 8 | Prevent sshd from sending DH groups with a primitive generator of zero or |
9 | one, even if they are listed in /etc/moduli. ok markus@ | 9 | one, even if they are listed in /etc/moduli. ok markus@ |
10 | - dtucker@cvs.openbsd.org 2004/02/27 22:44:56 | ||
11 | [dh.c] | ||
12 | Make /etc/moduli line buffer big enough for 8kbit primes, in case anyone | ||
13 | ever uses one. ok markus@ | ||
10 | 14 | ||
11 | 20040226 | 15 | 20040226 |
12 | - (bal) KNF our sshlogin.c even if the code looks nothing like upstream | 16 | - (bal) KNF our sshlogin.c even if the code looks nothing like upstream |
@@ -812,4 +816,4 @@ | |||
812 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 816 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
813 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 817 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
814 | 818 | ||
815 | $Id: ChangeLog,v 1.3262 2004/02/29 09:12:33 dtucker Exp $ | 819 | $Id: ChangeLog,v 1.3263 2004/02/29 09:13:34 dtucker Exp $ |
@@ -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; |