diff --git a/security/manager/ssl/nsNSSComponent.cpp b/security/manager/ssl/nsNSSComponent.cpp index 85b5524a5e13..6b3e96b01540 100644 --- a/security/manager/ssl/nsNSSComponent.cpp +++ b/security/manager/ssl/nsNSSComponent.cpp @@ -857,7 +857,7 @@ nsNSSComponent::HasActiveSmartCards(bool* result) { SECMODModuleList* list = SECMOD_GetDefaultModuleList(); while (list) { SECMODModule* module = list->module; - if (SECMOD_HasRemovableSlots(module)) { + if (SECMOD_LockedModuleHasRemovableSlots(module)) { *result = true; return NS_OK; } @@ -921,7 +921,7 @@ nsresult nsNSSComponent::CheckForSmartCardChanges() { AutoSECMODListReadLock secmodLock; SECMODModuleList* list = SECMOD_GetDefaultModuleList(); while (list) { - if (SECMOD_HasRemovableSlots(list->module)) { + if (SECMOD_LockedModuleHasRemovableSlots(list->module)) { UniqueSECMODModule module(SECMOD_ReferenceModule(list->module)); if (!modulesWithRemovableSlots.append(std::move(module))) { return NS_ERROR_OUT_OF_MEMORY; diff --git a/security/nss.symbols b/security/nss.symbols index 80e109dfbc05..6f3f44841158 100644 --- a/security/nss.symbols +++ b/security/nss.symbols @@ -570,10 +570,10 @@ SECMOD_GetDefaultModuleListLock SECMOD_GetInternalModule SECMOD_GetModuleSpecList SECMOD_GetReadLock -SECMOD_HasRemovableSlots SECMOD_InternaltoPubMechFlags SECMOD_LoadModule SECMOD_LoadUserModule +SECMOD_LockedModuleHasRemovableSlots SECMOD_OpenUserDB SECMOD_PubCipherFlagstoInternal SECMOD_PubMechFlagstoInternal