Red Hat Bugzilla – Bug 848474
crypto module function subject_name_hash returns negative numbers on 32 bit hosts
Last modified: 2015-02-26 10:13:38 EST
Description of problem:
The python module uses PyLong_FromLong instead of PyLong_FromLongLong or FromUnsignedLong which on 32 bit hosts results in integer overflow and negative integer responses. This affects programs like func which use the hashes as part of their ACL infrastructure.
See bug: https://bugzilla.redhat.com/show_bug.cgi?id=756831 for what was reported against Fedora 15 at the time. I just noticed RHEL had an older version of pyOpenSSL so figured I should report this. Its a simple backport/fix.
Always ( I haven't actually tested this on RHEL just noticed the version number and figured its likely affected)
Steps to Reproduce:
1. Use pyOpenSSL on a 32bit host
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
Fixed by the planned rebase.
*** This bug has been marked as a duplicate of bug 1036853 ***