Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
openssl.5987
openssl-fips-fix-odd-rsakeybits.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-fips-fix-odd-rsakeybits.patch of Package openssl.5987
Index: openssl-1.0.1i/crypto/rsa/rsa_gen.c =================================================================== --- openssl-1.0.1i.orig/crypto/rsa/rsa_gen.c +++ openssl-1.0.1i/crypto/rsa/rsa_gen.c @@ -424,7 +424,8 @@ static int rsa_builtin_keygen(RSA *rsa, if (r3 == NULL) goto err; bitsp=(bits+1)/2; - bitsq=bits-bitsp; + /* Use the same number of bits for p and q, our checks assume it. */ + bitsq=bitsp; /* prepare a maximum for p and q */ /* 0xB504F334 is (sqrt(2)/2)*2^32 */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor