Closed Bug 390188 Opened 17 years ago Closed 17 years ago

PK11_FindCertFromNickname should find nicknames with colons in certDB

Categories

(NSS :: Libraries, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX
3.11.8

People

(Reporter: nelson, Assigned: nelson)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file, 1 obsolete file)

When PK11_FindCertFromNickname is called with a nickname with a colon in it,
it tries to find a token with the name before the colon, and if that fails,
it gives up.  It should attempt to retry the operation, looking for the whole
original nickname string in the softoken.
Attached patch patch v1 (obsolete) — Splinter Review
This patch is mutually exclusive with the patch attached to bug 390187.
One of these bugs should be marked WONTFIX, I think.
Please vote for one.
Attachment #274551 - Flags: superreview?(rrelyea)
Attachment #274551 - Flags: review?(neil.williams)
There are two functions in this source file that both have the same problem.
This patch fixes them both.
Assignee: nobody → nelson
Attachment #274551 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #274557 - Flags: superreview?(rrelyea)
Attachment #274557 - Flags: review?(neil.williams)
Attachment #274551 - Flags: superreview?(rrelyea)
Attachment #274551 - Flags: review?(neil.williams)
Priority: -- → P2
Target Milestone: --- → 3.11.8
I prefer to fix bug 390187 rather than this one. It has always been the case that the string before the first colon signifies the token in nicknames. Let's not try to change it. As you pointed out, the problem can be worked around by prefixing the softoken token name.
OK, Julien and Bob both voted for the other bug/fix.  so, WONTFIX
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
Attachment #274557 - Flags: superreview?(rrelyea)
Comment on attachment 274557 [details] [diff] [review]
patch v2, fix both functions

cancelling reqview request
Attachment #274557 - Flags: review?(neil.williams)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: