xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit 816c2bb27bde42700fd0154cc250e9dcfd5d744e Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Mon May 17 21:02:47 2021 +0200 Commit: Julien Nabet <serval2...@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 <serval2...@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 > > _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits