diff --git a/xmlsecurity/source/framework/signatureverifierimpl.cxx b/xmlsecurity/source/framework/signatureverifierimpl.cxx index b96050d5c0bd..cfee9c6f1caa 100644 --- a/xmlsecurity/source/framework/signatureverifierimpl.cxx +++ b/xmlsecurity/source/framework/signatureverifierimpl.cxx @@ -38,7 +38,7 @@ void SignatureVerifierImpl::notifyResultListener() const /****** SignatureVerifierImpl/notifyResultListener *************************** * * NAME - * notifyResultListener -- notifies the listener about the verify result. + * notifyResultListener -- notifies the listener about the verification result. ******************************************************************************/ { css::uno::Reference< css::xml::crypto::sax::XSignatureVerifyResultListener > diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx index 99f8fde4fe4e..ff7874bc3793 100644 --- a/xmlsecurity/source/helper/xsecctl.cxx +++ b/xmlsecurity/source/helper/xsecctl.cxx @@ -921,7 +921,7 @@ void XSecController::UpdateSignatureInformation(sal_Int32 const nSecurityId, std::vector && rDatas) { int const nIndex = findSignatureInfor(nSecurityId); - assert(nIndex != -1); // nothing should touch this between parsing and verify + assert(nIndex != -1); // nothing should touch this between parsing and verification m_vInternalSignatureInformations[nIndex].signatureInfor.X509Datas = std::move(rDatas); } diff --git a/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx b/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx index 2859c10e20d4..14f2f15c37c3 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/akmngr.cxx @@ -107,7 +107,7 @@ xmlSecKeysMngrPtr MSCryptoAppliedKeysMngrCreate() * Set certificate database to X509 key data store */ /*- - * At present, MS Crypto engine do not provide a way to setup a cert store. + * At present, MS Crypto engine does not provide a way to set up a cert store. */ /*- diff --git a/xmlsecurity/source/xmlsec/nss/secerror.cxx b/xmlsecurity/source/xmlsec/nss/secerror.cxx index b7e623ce00b8..c82c42bde915 100644 --- a/xmlsecurity/source/xmlsec/nss/secerror.cxx +++ b/xmlsecurity/source/xmlsec/nss/secerror.cxx @@ -41,7 +41,7 @@ const ErrDesc allDesc[] = { /* Returns a UTF-8 encoded constant error string for "errNum". - * Returns NULL of errNum is unknown. + * Returns NULL if errNum is unknown. */ const char * getCertError(PRErrorCode errNum)