Open
Bug 268526
Opened 20 years ago
Updated 2 years ago
two subsequent C_DigestFinal calls are made on the same session during SSL
Categories
(NSS :: Libraries, defect, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: julien.pierre, Unassigned)
Details
The following PKCS#11 trace was taken from selfserv running in single-threaded mode. As you can see, C_DigestFinal gets called twice with the same hSession = 0x47 . The first call succeeds, but the second one fails with rv = 0x91, CKR_OPERATION_NOT_INITIALIZED . I haven't looked yet where the failing call is made from, but we should fix this sequence. This invalid sequence is happening 11 times for each SSL full handshake in my PKCS#11 server logs. 2[54da50]: C_DigestFinal 2[54da50]: hSession = 0x47 2[54da50]: pDigest = 0xfffffd7ffeb546d4 2[54da50]: pulDigestLen = 0xfffffd7ffeb54300 2[54da50]: rv = 0x0 2[54da50]: C_DigestUpdate 2[54da50]: hSession = 0x48 2[54da50]: pPart = 0xfffffd7ffeb54690 2[54da50]: ulPartLen = 4 2[54da50]: rv = 0x0 2[54da50]: C_DigestKey 2[54da50]: hSession = 0x48 2[54da50]: rv = 0x0 2[54da50]: C_DigestUpdate 2[54da50]: hSession = 0x48 2[54da50]: pPart = 0xfffffd7fff37ee98 2[54da50]: ulPartLen = 40 2[54da50]: rv = 0x0 2[54da50]: C_DigestFinal 2[54da50]: hSession = 0x48 2[54da50]: pDigest = 0xfffffd7ffeb54694 2[54da50]: pulDigestLen = 0xfffffd7ffeb54300 2[54da50]: rv = 0x0 2[54da50]: C_DigestFinal 2[54da50]: hSession = 0x47 2[54da50]: pDigest = 0x0 2[54da50]: pulDigestLen = 0xfffffd7ffeb54138 2[54da50]: rv = 0x91
| Reporter | ||
Updated•20 years ago
|
Assignee: wtchang → saul.edwards.bugs
Updated•20 years ago
|
QA Contact: bishakhabanerjee → jason.m.reid
Updated•19 years ago
|
QA Contact: jason.m.reid → libraries
Updated•18 years ago
|
Assignee: saul.edwards.bugs → nobody
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•