Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
mozilla-nss.16342
nss-fix-dh-pkcs-derive-inverted-logic.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nss-fix-dh-pkcs-derive-inverted-logic.patch of Package mozilla-nss.16342
# HG changeset patch # User M. Sirringhaus <msirringhaus@suse.de> # Date 1590586654 -7200 # Wed May 27 15:37:34 2020 +0200 # Node ID 582ed54a5cda147cd5996603d6066817edb687fa # Parent c7e78a84b2671ec9e9cc89fb5bb7790d32498f43 imported patch nss-fix-dh-pkcs-derive-inverted-logic.patch diff --git a/lib/softoken/pkcs11c.c b/lib/softoken/pkcs11c.c --- a/lib/softoken/pkcs11c.c +++ b/lib/softoken/pkcs11c.c @@ -8271,17 +8271,17 @@ NSC_DeriveKey(CK_SESSION_HANDLE hSession dhPublic.len = pMechanism->ulParameterLen; /* If the caller bothered to provide Q, use Q to validate * the public key. */ crv = sftk_Attribute2SecItem(NULL, &dhSubPrime, sourceKey, CKA_SUBPRIME); if (crv == CKR_OK) { rv = KEA_Verify(&dhPublic, &dhPrime, &dhSubPrime); PORT_Free(dhSubPrime.data); - if (rv != SECSuccess) { + if (rv == PR_FALSE) { crv = CKR_ARGUMENTS_BAD; PORT_Free(dhPrime.data); PORT_Free(dhValue.data); break; } } /* calculate private value - oct */
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