Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238887 Details for
Bug 328383
<dev-libs/libtommath-0.42.0: weakness in mp_prime_next_prime()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for mp_prime_next_prime() bug when checking generated prime
libtommath-0.41-mp_prime_next_prime_fix.patch (text/plain), 544 bytes, created by
Mark Karpeles
on 2010-07-15 13:49:15 UTC
(
hide
)
Description:
Fix for mp_prime_next_prime() bug when checking generated prime
Filename:
MIME Type:
Creator:
Mark Karpeles
Created:
2010-07-15 13:49:15 UTC
Size:
544 bytes
patch
obsolete
>diff -rbBU3 libtommath-0.41-orig/bn_mp_prime_next_prime.c libtommath-0.41/bn_mp_prime_next_prime.c >--- libtommath-0.41-orig/bn_mp_prime_next_prime.c 2007-03-11 08:45:11.000000000 +0900 >+++ libtommath-0.41/bn_mp_prime_next_prime.c 2010-07-15 22:46:54.000000000 +0900 >@@ -143,7 +143,7 @@ > > /* is this prime? */ > for (x = 0; x < t; x++) { >- mp_set(&b, ltm_prime_tab[t]); >+ mp_set(&b, ltm_prime_tab[x]); > if ((err = mp_prime_miller_rabin(a, &b, &res)) != MP_OKAY) { > goto LBL_ERR; > }
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 328383
: 238887