Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
compat-openssl098.11471
openssl-CVE-2011-5095.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-CVE-2011-5095.patch of Package compat-openssl098.11471
Index: openssl-0.9.8j/fips/dh/fips_dh_key.c =================================================================== --- openssl-0.9.8j.orig/fips/dh/fips_dh_key.c +++ openssl-0.9.8j/fips/dh/fips_dh_key.c @@ -189,6 +189,7 @@ static int compute_key(unsigned char *ke BN_MONT_CTX *mont=NULL; BIGNUM *tmp; int ret= -1; + int check_result; ctx = BN_CTX_new(); if (ctx == NULL) goto err; @@ -227,6 +228,12 @@ static int compute_key(unsigned char *ke goto err; } + if (!DH_check_pub_key(dh, pub_key, &check_result) || check_result) + { + DHerr(DH_F_COMPUTE_KEY,DH_R_INVALID_PUBKEY); + goto err; + } + if (!dh->meth->bn_mod_exp(dh, tmp, pub_key, dh->priv_key,dh->p,ctx,mont)) { DHerr(DH_F_COMPUTE_KEY,ERR_R_BN_LIB);
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