From 88bf39f00d7ccaf9ed58c09d895fdb110fd52970 Mon Sep 17 00:00:00 2001 From: "kaie%kuix.de" Date: Wed, 6 Dec 2006 17:56:04 +0000 Subject: [PATCH] Bug 362967, export SECMOD_DeleteModuleEx r=rrelyea, r=wtchang --- security/nss/lib/nss/nss.def | 1 + security/nss/lib/pk11wrap/secmod.h | 4 ++++ security/nss/lib/pk11wrap/secmodi.h | 1 - 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/security/nss/lib/nss/nss.def b/security/nss/lib/nss/nss.def index 5699d02d0e6..348c9ac3fe1 100644 --- a/security/nss/lib/nss/nss.def +++ b/security/nss/lib/nss/nss.def @@ -892,6 +892,7 @@ SECKEY_SignatureLen; PK11_GetAllSlotsForCert; SECKEY_ECParamsToKeySize; SECKEY_ECParamsToBasePointOrderLen; +SECMOD_DeleteModuleEx; VFY_CreateContextDirect; VFY_CreateContextWithAlgorithmID; VFY_VerifyDataDirect; diff --git a/security/nss/lib/pk11wrap/secmod.h b/security/nss/lib/pk11wrap/secmod.h index 68ac59f27be..0578bbc0442 100644 --- a/security/nss/lib/pk11wrap/secmod.h +++ b/security/nss/lib/pk11wrap/secmod.h @@ -120,6 +120,10 @@ extern void SECMOD_ReleaseReadLock(SECMODListLock *); /* Operate on modules by name */ extern SECMODModule *SECMOD_FindModule(const char *name); extern SECStatus SECMOD_DeleteModule(const char *name, int *type); +extern SECStatus SECMOD_DeleteModuleEx(const char * name, + SECMODModule *mod, + int *type, + PRBool permdb); extern SECStatus SECMOD_DeleteInternalModule(const char *name); extern PRBool SECMOD_CanDeleteInternalModule(void); extern SECStatus SECMOD_AddNewModule(const char* moduleName, diff --git a/security/nss/lib/pk11wrap/secmodi.h b/security/nss/lib/pk11wrap/secmodi.h index 1e3a6aebd3e..b425e908103 100644 --- a/security/nss/lib/pk11wrap/secmodi.h +++ b/security/nss/lib/pk11wrap/secmodi.h @@ -80,7 +80,6 @@ extern SECMODModuleList *SECMOD_NewModuleListElement(void); extern SECMODModuleList *SECMOD_DestroyModuleListElement(SECMODModuleList *); extern void SECMOD_DestroyModuleList(SECMODModuleList *); extern SECStatus SECMOD_AddModule(SECMODModule *newModule); -SECStatus SECMOD_DeleteModuleEx(const char * name, SECMODModule *mod, int *type, PRBool permdb); extern unsigned long SECMOD_InternaltoPubMechFlags(unsigned long internalFlags); extern unsigned long SECMOD_InternaltoPubCipherFlags(unsigned long internalFlags);