summaryrefslogtreecommitdiffstats
path: root/xmlsecurity/source/xmlsec/certificateextension_certextn.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-08 12:03:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-09 15:05:54 +0200
commit1dd5e226bd57254024640b10cbbe639f12564655 (patch)
tree6fbbe3197fbb7f74eaa5786919ced46a06cbf39d /xmlsecurity/source/xmlsec/certificateextension_certextn.cxx
parentuse comphelper::InitPropertySequence in more places (diff)
downloadcore-1dd5e226bd57254024640b10cbbe639f12564655.tar.gz
core-1dd5e226bd57254024640b10cbbe639f12564655.zip
clang-tidy readability-non-const-parameter
Change-Id: I7b2680898dbfc49185fb949349d81f4ac615a470 Reviewed-on: https://gerrit.libreoffice.org/38593 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source/xmlsec/certificateextension_certextn.cxx')
-rw-r--r--xmlsecurity/source/xmlsec/certificateextension_certextn.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/certificateextension_certextn.cxx b/xmlsecurity/source/xmlsec/certificateextension_certextn.cxx
index 3c333d2ed64d..b7b5f1e9df1c 100644
--- a/xmlsecurity/source/xmlsec/certificateextension_certextn.cxx
+++ b/xmlsecurity/source/xmlsec/certificateextension_certextn.cxx
@@ -24,8 +24,8 @@ CertificateExtension_CertExtn::CertificateExtension_CertExtn()
{
}
-void CertificateExtension_CertExtn::setCertExtn(unsigned char* value, unsigned int vlen,
- unsigned char* id, unsigned int idlen, bool critical)
+void CertificateExtension_CertExtn::setCertExtn(const unsigned char* value, unsigned int vlen,
+ const unsigned char* id, unsigned int idlen, bool critical)
{
unsigned int i ;
if( value != nullptr && vlen != 0 ) {