Bugzilla – Attachment 1781 Details for
Bug 1701
FIPS-140-2 requires call to RAND_cleanup() before the program using RAND exits
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch solving the problem
openssh-5.3p1-randclean.patch (text/plain), 521 bytes, created by
jchadima
on 2010-01-21 23:05:10 AEDT
(
hide
)
Description:
Patch solving the problem
Filename:
MIME Type:
Creator:
jchadima
Created:
2010-01-21 23:05:10 AEDT
Size:
521 bytes
patch
obsolete
>diff -up openssh-5.3p1/entropy.c.randclean openssh-5.3p1/entropy.c >--- openssh-5.3p1/entropy.c.randclean 2010-01-21 09:26:30.000000000 +0100 >+++ openssh-5.3p1/entropy.c 2010-01-21 09:26:37.000000000 +0100 >@@ -159,6 +159,9 @@ init_rng(void) > fatal("OpenSSL version mismatch. Built against %lx, you " > "have %lx", OPENSSL_VERSION_NUMBER, SSLeay()); > >+ /* clean the PRNG status when exiting the program */ >+ atexit(RAND_cleanup); >+ > #ifndef OPENSSL_PRNG_ONLY > original_uid = getuid(); > original_euid = geteuid();
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 1701
: 1781 |
1828