Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 606606 Details for
Bug 802946
hardcoded MD5 use leads to SSL server failure in FIPS mode
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Use srand and rand in Ruby 1.8.7 to make a session id
random-session-id.patch (text/plain), 553 bytes, created by
jared jennings
on 2012-08-23 14:10:47 UTC
(
hide
)
Description:
Use srand and rand in Ruby 1.8.7 to make a session id
Filename:
MIME Type:
Creator:
jared jennings
Created:
2012-08-23 14:10:47 UTC
Size:
553 bytes
patch
obsolete
>--- ssl-internal.rb (ruby 1.8.7.352-7.el6_2) >+++ ssl-internal.rb (not using MD5) >@@ -146,7 +146,9 @@ > @svr = svr > @ctx = ctx > unless ctx.session_id_context >- session_id = OpenSSL::Digest::MD5.hexdigest($0) >+ # see #6137 - session id may not exceed 32 bytes >+ srand $0.hash >+ bytes = (1..16).collect {|x| [*(0..255)].choice.chr }.join >+ session_id = bytes.unpack('H*')[0] >+ srand > @ctx.session_id_context = session_id > end > @start_immediately = true
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 802946
: 606606