Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 371712 Details for
Bug 503190
net-im/gajim-0.16_beta2 with dev-python/pyopenssl-0.14 - type bugs with OpenSSL.rand.load_file, load_tmp_dh, OpenSSL.rand.add
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for fix issues with new pyOpenSSL version
gajim.patch (text/plain), 842 bytes, created by
Dmitry Suloev
on 2014-03-04 10:31:38 UTC
(
hide
)
Description:
Patch for fix issues with new pyOpenSSL version
Filename:
MIME Type:
Creator:
Dmitry Suloev
Created:
2014-03-04 10:31:38 UTC
Size:
842 bytes
patch
obsolete
>diff --git a/common/crypto.py b/common/crypto.py >index 0b45cba..481d673 100644 >--- a/src/common/crypto.py >+++ b/src/common/crypto.py >@@ -87,7 +87,7 @@ def add_entropy_sources_OpenSSL(): > os.environ, os.getcwd(), os.getpid()] > > for s in sources: >- OpenSSL.rand.add(str(s), 0.01) >+ OpenSSL.rand.add(str(s), 1) > > # On Windows add the current contents of the screen to the PRNG state. > if os.name == 'nt': >diff --git a/gajim.py b/gajim.py >index be64375..bc10158 100644 >--- a/src/gajim.py >+++ b/src/gajim.py >@@ -301,7 +301,7 @@ try: > from common import crypto > PYOPENSSL_PRNG_PRESENT = True > # Seed from file >- OpenSSL.rand.load_file(RNG_SEED) >+ OpenSSL.rand.load_file(str(RNG_SEED)) > crypto.add_entropy_sources_OpenSSL() > except ImportError: > log.info("PyOpenSSL PRNG not available")
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 503190
: 371712