Closed Bug 1358183 Opened 7 years ago Closed 7 years ago

Remove some unused PSM IDL constants and functions

Categories

(Core :: Security: PSM, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: Cykesiopka, Assigned: Cykesiopka)

Details

(Whiteboard: [psm-assigned])

Attachments

(1 file)

There are some PSM IDL constants and functions that aren't used even in addons.
We should remove them.
Comment on attachment 8864227 [details]
Bug 1358183 - Remove some unused PSM IDL constants and functions.

https://reviewboard.mozilla.org/r/135868/#review138922

LGTM - thanks!

::: security/manager/ssl/nsPK11TokenDB.cpp
(Diff revision 1)
> -
> -  nsNSSShutDownPreventionLock locker;
> -  if (isAlreadyShutDown())
> -    return NS_ERROR_NOT_AVAILABLE;
> -
> -  *_retval = PK11_IsFriendly(mSlot.get());

I think we can remove this from security/nss.symbols now, right?
Attachment #8864227 - Flags: review?(dkeeler) → review+
Comment on attachment 8864227 [details]
Bug 1358183 - Remove some unused PSM IDL constants and functions.

https://reviewboard.mozilla.org/r/135868/#review138922

Thanks for the review.

> I think we can remove this from security/nss.symbols now, right?

Sadly no - looks like certutil uses the function: https://treeherder.mozilla.org/#/jobs?repo=try&revision=538b688c500b1500986a48bff75c192166267118&selectedJob=96615728
Pushed by ihsiao@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cfb9c5cf8965
Remove some unused PSM IDL constants and functions. r=keeler
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/cfb9c5cf8965
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: