Closed Bug 247737 Opened 20 years ago Closed 20 years ago

PK11_PQG_ParamGenSeedLen returns invalid PQGParams and Verify

Categories

(NSS :: Libraries, defect, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nelson, Assigned: nelson)

References

Details

Attachments

(1 file)

PK11_PQG_ParamGenSeedLen returns invalid PQGParams and Verify

Specifically, the "type" member of all the secitems is uninitialized.
Conseuqently, the ASN.1 encoder encodes invalid results.
The type members must be initialized to siUnsignedInteger.

I am marking this major, because DSA param gen is a major capability
of NSS, and it doesn't work.

patch forthcoming.
Blocks: 247738
Severity: normal → major
OS: Windows XP → All
Priority: -- → P2
Hardware: PC → All
Target Milestone: --- → 3.10
Comment on attachment 151249 [details] [diff] [review]
patch v1 - initialize secitem types to siUnsignedInteger

Bob, please review
Attachment #151249 - Flags: review?(rrelyea0264)
Comment on attachment 151249 [details] [diff] [review]
patch v1 - initialize secitem types to siUnsignedInteger

r=relyea0264
Attachment #151249 - Flags: review?(rrelyea0264) → review+
/cvsroot/mozilla/security/nss/lib/pk11wrap/pk11pqg.c,v  <--  pk11pqg.c
new revision: 1.9; previous revision: 1.8

Thanks for the quick review.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: