uui/source/iahndl-ssl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 6e08c83530bc54a47c10408a8472e95d1a4147ec Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Thu Jan 18 08:58:21 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Thu Jan 18 12:39:03 2024 +0100 cid#1545625 COPY_INSTEAD_OF_MOVE Change-Id: Ibd32bdb5b1c4fc8220e99d308a21af64e4cad7b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162241 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx index 24737d4a0353..3e2525093935 100644 --- a/uui/source/iahndl-ssl.cxx +++ b/uui/source/iahndl-ssl.cxx @@ -273,10 +273,9 @@ handleCertificateValidationRequest_( altNames = comphelper::sequenceToContainer<std::vector<security::CertAltNameEntry>>(sanExtension->getAlternativeNames()); } - OUString certHostName = getContentPart( rRequest.Certificate->getSubjectName() ); uno::Sequence< OUString > certHostNames(altNames.size() + 1); auto pcertHostNames = certHostNames.getArray(); - pcertHostNames[0] = certHostName; + pcertHostNames[0] = getContentPart(rRequest.Certificate->getSubjectName()); for (size_t n = 0; n < altNames.size(); ++n) {