Subject: bin/22012: moduli.5 documentation doesn't match ssh code (off by 1)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wsimpson@greendragon.com>
List: netbsd-bugs
Date: 06/29/2003 17:37:42
>Number:         22012
>Category:       bin
>Synopsis:       moduli.5 documentation doesn't match ssh code (off by 1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 29 17:38:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     william allen simpson
>Release:        1.6U
>Organization:
daydreamer
>Environment:
NetBSD dreamer 1.6U NetBSD 1.6U (GENERIC) #0: Sat Jun 28 17:36:46 UTC 2003  autobuild@tgm.daemon.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC i386

>Description:
Just discovered that ssh/dh.c interprets the /etc/moduli file in a 
slightly different way from the documentation, due to an historic 
accident (an off by 1 error).  Easier to change the documention and 
generating program than the installed base ;-)

I'm the original author, as /etc/moduli was originally used in Photuris.

>How-To-Repeat:

>Fix:
Index: moduli.5
===================================================================
RCS file: /cvsroot/src/crypto/dist/ssh/moduli.5,v
retrieving revision 1.7
diff -r1.7 moduli.5
133c133
< Specifies the number of significant bits.
---
> Specifies the number of the most significant bit (0 to M).


>Release-Note:
>Audit-Trail:
>Unformatted: