Open Bug 391612 Opened 17 years ago Updated 2 years ago

avoid copy der, decode to new CERTCertificate structure while creating PKIX_PL_Cert

Categories

(NSS :: Libraries, defect, P2)

Tracking

(Not tracked)

People

(Reporter: alvolkov.bgs, Unassigned)

Details

(Keywords: perf, Whiteboard: PKIX)

Currently libpkix offers inefficient way of creating PKIX_PL_Cert through creating PKIX_PL_ByteArray structure by copying der encoded data into newly allocated memory, and later decode it into new PKIX_PL_Cert. Creation of the structure could be done more efficiently by reusing existing CERTCertificate object.
Blocks: 390888
Priority: -- → P2
Whiteboard: PKIX
Version: 3.12 → trunk
No longer blocks: 390888
I think this may be more than merely inefficient. It may be part of the cause of bug 390381. There's a bunch of code ifdeffed out in function PKIX_PL_Cert_CreateFromCERTCertificate that looks like it might fix this. Is that code ready to try? Is there any known problem with that ifdeffed code?
Target Milestone: 3.12 → 3.12.2
Unsetting target milestone in unresolved bugs whose targets have passed.
Target Milestone: 3.12.2 → ---

The bug assignee is inactive on Bugzilla, and this bug has priority 'P2'.
:beurdouche, could you have a look please?

For more information, please visit auto_nag documentation.

Assignee: alvolkov.bgs → nobody
Flags: needinfo?(bbeurdouche)
Severity: normal → S3

We have modified the bot to only consider P1 as high priority, so I'm cancelling the needinfo here.

Flags: needinfo?(bbeurdouche)
You need to log in before you can comment on or make changes to this bug.