summaryrefslogtreecommitdiffstats
path: root/xmlsecurity
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-11-12 08:30:46 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-11-13 08:03:32 +0100
commitb7d0b49f5708b55e24aabb719e26ce5ec8628161 (patch)
treec01b10951b04ad8b78a060e5a089bc72243dfba9 /xmlsecurity
parentClamp equation values when exporting to binary MS format (diff)
downloadcore-b7d0b49f5708b55e24aabb719e26ce5ec8628161.tar.gz
core-b7d0b49f5708b55e24aabb719e26ce5ec8628161.zip
Related tdf#118581 Use subject name, not issuer name for signature line
And map the gpg user also the the subject name Change-Id: I1db7b93b6bfc82304924d6ef90db18ff4f97e13c Reviewed-on: https://gerrit.libreoffice.org/63278 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/gpg/CertificateImpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/gpg/CertificateImpl.cxx b/xmlsecurity/source/gpg/CertificateImpl.cxx
index 4a2934a9779c..72fed74b949e 100644
--- a/xmlsecurity/source/gpg/CertificateImpl.cxx
+++ b/xmlsecurity/source/gpg/CertificateImpl.cxx
@@ -61,8 +61,8 @@ OUString SAL_CALL CertificateImpl::getIssuerName()
OUString SAL_CALL CertificateImpl::getSubjectName()
{
- // Empty for gpg
- return OUString();
+ // Samue as issuer name (user ID)
+ return getIssuerName();
}
namespace {