Last Comment Bug 456036 - Stubs for deprecated functions in lib/certdb/stanpcertdb.c should set the PR_NOT_IMPLEMENTED_ERROR error.
: Stubs for deprecated functions in lib/certdb/stanpcertdb.c should set the PR_...
Status: RESOLVED FIXED
:
Product: NSS
Classification: Components
Component: Libraries (show other bugs)
: unspecified
: All All
: -- normal (vote)
: 3.12.2
Assigned To: Wan-Teh Chang
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-19 07:34 PDT by Wan-Teh Chang
Modified: 2008-09-19 18:10 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
Proposed patch (1.46 KB, patch)
2008-09-19 07:34 PDT, Wan-Teh Chang
julien.pierre: review+
Details | Diff | Review

Description Wan-Teh Chang 2008-09-19 07:34:38 PDT
Created attachment 339452 [details] [diff] [review]
Proposed patch

The stubs for deprecated functions at the bottom of
lib/certdb/stanpcertdb.c should set the PR_NOT_IMPLEMENTED_ERROR
error.

One of them, __CERT_ClosePermCertDB, returns void, so in my
proposed patch I didn't add a PORT_SetError call to it.
Comment 1 Wan-Teh Chang 2008-09-19 18:10:34 PDT
I checked in the patch on the NSS trunk (NSS 3.12.2).

Checking in stanpcertdb.c;
/cvsroot/mozilla/security/nss/lib/certdb/stanpcertdb.c,v  <--  stanpcertdb.c
new revision: 1.82; previous revision: 1.81
done

Note You need to log in before you can comment on or make changes to this bug.