Bug 612

Summary: moduli.5 documentation doesn't match ssh code (off by 1)
Product: Portable OpenSSH Reporter: william allen simpson <wsimpson>
Component: sshdAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: trivial    
Priority: P2    
Version: -current   
Hardware: All   
OS: All   

Description william allen simpson 2003-07-02 22:09:24 AEST
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) by the OpenSSH coder.  Easier to change 
the documention than the installed base ;-)

[I'm the original author, as /etc/moduli was originally used in Photuris.]
Comment 1 william allen simpson 2003-07-02 22:17:30 AEST
[The attachment feature didn't work, at least on the web interface.]
[NetBSD patch]

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).
Comment 2 Markus Friedl 2003-07-05 01:10:32 AEST
thanks, fix for the next release.
Comment 3 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED