Closed
Bug 119362
Opened 24 years ago
Closed 24 years ago
PK11_ImportSymKey should be able to enable multiple operations
Categories
(NSS :: Libraries, enhancement, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
3.4
People
(Reporter: jamie-bugzilla, Assigned: rrelyea)
References
Details
Attachments
(1 file)
We don't know when we imnport a symmetric key what it will be used for, so I
want to enable it for all operations.
Assignee | ||
Comment 2•24 years ago
|
||
Basically move the Flags->template utility function above the SymKey function,
Convert the existing ImportsymKey function to an internal ImportSymkey function
which imports by template.
Create a new ImportSymKey function which calls the new internal ImportSymkey
function
Cerate a new ImportSymKeyWithFlags which calls the new internal ImportSymkey
funciton
Assignee | ||
Comment 3•24 years ago
|
||
This patch is checked in. I'll close it when Jamie verifies it functions as needed.
Comment 4•24 years ago
|
||
Comment on attachment 67527 [details] [diff] [review]
Proposed patch to create a PK11_ImportSymKeyWithFlags()
r=wtc.
Nit: the assertion
PR_ASSERT(templateCount+1 <= sizeof(keyTemplate)/sizeof(CK_ATTRIBUTE));
can be simplified to
PR_ASSERT(templateCount < sizeof(keyTemplate)/sizeof(CK_ATTRIBUTE));
Assignee | ||
Comment 5•24 years ago
|
||
reopen if functions do not work.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•