[Libreoffice-commits] core.git: xmlsecurity/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Tue May 18 07:42:27 UTC 2021


 xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 816c2bb27bde42700fd0154cc250e9dcfd5d744e
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Mon May 17 21:02:47 2021 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue May 18 09:41:52 2021 +0200

    Typo: solt=>slot
    
    Change-Id: I742060932f3408bd40921d91e062a7acee0832e3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115719
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
index dd57a28be6da..21524c37163b 100644
--- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
@@ -216,13 +216,13 @@ void SecurityEnvironment_NssImpl::updateSlots()
     m_Slots.clear();
     m_tSymKeyList.clear();
 
-    PK11SlotList * soltList = PK11_GetAllTokens( CKM_INVALID_MECHANISM, PR_FALSE, PR_FALSE, nullptr ) ;
-    if( soltList == nullptr )
+    PK11SlotList * slotList = PK11_GetAllTokens( CKM_INVALID_MECHANISM, PR_FALSE, PR_FALSE, nullptr ) ;
+    if( slotList == nullptr )
         return;
 
-    for (PK11SlotListElement* soltEle = soltList->head ; soltEle != nullptr; soltEle = soltEle->next)
+    for (PK11SlotListElement* slotEle = slotList->head ; slotEle != nullptr; slotEle = slotEle->next)
     {
-        PK11SlotInfo * pSlot = soltEle->slot ;
+        PK11SlotInfo * pSlot = slotEle->slot ;
 
         if(pSlot != nullptr)
         {
@@ -260,7 +260,7 @@ void SecurityEnvironment_NssImpl::updateSlots()
         }// end of if(pSlot != NULL)
     }// end of for
 
-    PK11_FreeSlotList(soltList);
+    PK11_FreeSlotList(slotList);
 }
 
 Sequence< Reference < XCertificate > >


More information about the Libreoffice-commits mailing list