Closed
Bug 337486
Opened 19 years ago
Closed 19 years ago
mismatch between PK11_FindCertFromNickname and FindCerts
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.11.3
People
(Reporter: KaiE, Assigned: KaiE)
References
Details
Attachments
(1 file)
|
2.07 KB,
patch
|
rrelyea
:
review+
julien.pierre
:
superreview+
|
Details | Diff | Splinter Review |
There is a mismatch between "single cert lookup" and "multi cert lookup" functions:
- PK11_FindCertFromNickname
- PK11_FindCertsFromNickname
"Single cert" function PK11_FindCertFromNickname
has an additional section which is prefixed by the following comment:
"if it wasn't found, repeat the process for email address"
"Multi cert" function PK11_FindCertsFromNickname
does NOT contain a corresponding section.
In my test scenario, when querying an email address using FindCert, one cert was returned.
However, FindCerts returned zero certs.
I think this is an obvious inconsistency and should be fixed.
This fix will be required for bug 337430.
| Assignee | ||
Comment 1•19 years ago
|
||
This added code is an exact copy of the corresponding section in the FindCert function. (But I adjusted the name of one variable)
Attachment #221624 -
Flags: review?(rrelyea)
| Assignee | ||
Updated•19 years ago
|
Assignee: nobody → kengert
Updated•19 years ago
|
Priority: -- → P2
Target Milestone: 3.11.2 → 3.11.3
Comment 3•19 years ago
|
||
Comment on attachment 221624 [details] [diff] [review]
Patch v1
I doubt it will make 3.11.2.
Kai, if you need quicker response on reviews be sure to CC other NSS developers.
I'd like julien to eyeball this before it goes into a 3.11 branch.
bob
Attachment #221624 -
Flags: superreview?(julien.pierre.bugs)
Attachment #221624 -
Flags: review?(rrelyea)
Attachment #221624 -
Flags: review+
Comment 4•19 years ago
|
||
Comment on attachment 221624 [details] [diff] [review]
Patch v1
Looks OK, very close to what the individual cer lookup function does.
Attachment #221624 -
Flags: superreview?(julien.pierre.bugs) → superreview+
| Assignee | ||
Comment 5•19 years ago
|
||
fixed on NSS tip
| Assignee | ||
Comment 6•19 years ago
|
||
new cvs tip rev was 1.152
now fixed on 3.11 branch, too
Checking in pk11cert.c;
/cvsroot/mozilla/security/nss/lib/pk11wrap/pk11cert.c,v <-- pk11cert.c
new revision: 1.143.2.8; previous revision: 1.143.2.7
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•