[Pkg-owncloud-commits] [owncloud-client] 70/83: Do not trim serial numbers
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat May 31 11:31:45 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 0c1ab533e6d1cea3011299ee08523ad8cbc582a2
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Wed May 28 21:15:03 2014 +0200
Do not trim serial numbers
This broke in a refactoring. The 'true' was interpreted as length of 1.
Fixes part of #1436
---
src/mirall/sslbutton.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mirall/sslbutton.cpp b/src/mirall/sslbutton.cpp
index 7bd2e3c..e103b36 100644
--- a/src/mirall/sslbutton.cpp
+++ b/src/mirall/sslbutton.cpp
@@ -83,7 +83,7 @@ QMenu* SslButton::buildCertMenu(QMenu *parent, const QSslCertificate& cert,
QLatin1String("<br/>") +
Utility::escape(Utility::formatFingerprint(sha265hash.mid(sha265hash.length()/2), false));
#endif
- QString serial = QString::fromUtf8(cert.serialNumber(), true);
+ QString serial = QString::fromUtf8(cert.serialNumber());
QString effectiveDate = cert.effectiveDate().date().toString();
QString expiryDate = cert.expiryDate().date().toString();
QString sna = QStringList(cert.alternateSubjectNames().values()).join(" ");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list