[dh.c]
     Make /etc/moduli line buffer big enough for 8kbit primes, in case anyone
     ever uses one.  ok markus@
This commit is contained in:
Darren Tucker 2004-02-29 20:13:34 +11:00
parent fc113c97a3
commit c56c7ef592
2 changed files with 7 additions and 3 deletions

View File

@ -7,6 +7,10 @@
[dh.c]
Prevent sshd from sending DH groups with a primitive generator of zero or
one, even if they are listed in /etc/moduli. ok markus@
- 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@
20040226
- (bal) KNF our sshlogin.c even if the code looks nothing like upstream
@ -812,4 +816,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3262 2004/02/29 09:12:33 dtucker Exp $
$Id: ChangeLog,v 1.3263 2004/02/29 09:13:34 dtucker Exp $

4
dh.c
View File

@ -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;