Bugzilla – Attachment 507 Details for
Bug 769
dh-group-exchange should be configurable off in client and server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for ssh client.
XX (text/plain), 748 bytes, created by
Markus Friedl
on 2003-12-05 10:43:10 AEDT
(
hide
)
Description:
patch for ssh client.
Filename:
MIME Type:
Creator:
Markus Friedl
Created:
2003-12-05 10:43:10 AEDT
Size:
748 bytes
patch
obsolete
>Index: dh.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/dh.c,v >retrieving revision 1.25 >diff -U10 -r1.25 dh.c >--- dh.c 18 Sep 2003 13:02:21 -0000 1.25 >+++ dh.c 5 Dec 2003 08:31:13 -0000 >@@ -272,18 +272,18 @@ > /* > * Estimates the group order for a Diffie-Hellman group that has an > * attack complexity approximately the same as O(2**bits). Estimate > * with: O(exp(1.9223 * (ln q)^(1/3) (ln ln q)^(2/3))) > */ > > int > dh_estimate(int bits) > { > >- if (bits < 64) >+ if (bits <= 64) > return (512); /* O(2**63) */ >- if (bits < 128) >+ if (bits <= 128) > return (1024); /* O(2**86) */ >- if (bits < 192) >+ if (bits <= 192) > return (2048); /* O(2**116) */ > return (4096); /* O(2**156) */ > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 769
:
506
| 507 |
538