summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-07-19 23:26:35 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-19 23:26:35 +0200
commitcf2f434b70146a4d3d0bef4ac02af9e9d0214fd6 (patch)
tree510a0c33a977d75db2c2cd83c2d4be1464c9e49c
parentCalm down kDebug messages (diff)
downloadrekonq-cf2f434b70146a4d3d0bef4ac02af9e9d0214fd6.tar.xz
Md5 is NOT sha256...
-rw-r--r--src/sslinfo.ui6
-rw-r--r--src/sslinfodialog.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/sslinfo.ui b/src/sslinfo.ui
index f8b1d9b4..bd0bdeda 100644
--- a/src/sslinfo.ui
+++ b/src/sslinfo.ui
@@ -307,12 +307,12 @@
<item row="0" column="0">
<widget class="QLabel" name="label_36">
<property name="text">
- <string>SHA-256 FingerPrints:</string>
+ <string>Md5:</string>
</property>
</widget>
</item>
<item row="0" column="1">
- <widget class="QLabel" name="sha256">
+ <widget class="QLabel" name="md5">
<property name="text">
<string>TextLabel</string>
</property>
@@ -321,7 +321,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_38">
<property name="text">
- <string>SHA-1 FingerPrints:</string>
+ <string>SHA-1:</string>
</property>
</widget>
</item>
diff --git a/src/sslinfodialog.cpp b/src/sslinfodialog.cpp
index b9668fd1..56cd0858 100644
--- a/src/sslinfodialog.cpp
+++ b/src/sslinfodialog.cpp
@@ -98,7 +98,7 @@ void SslInfoDialog::showCertificateInfo(QSslCertificate subjectCert, const QStri
ui.issuedOn->setText(subjectCert.effectiveDate().date().toString(Qt::SystemLocaleShortDate));
ui.expiresOn->setText(subjectCert.expiryDate().date().toString(Qt::SystemLocaleShortDate));
- ui.sha256->setText(subjectCert.digest(QCryptographicHash::Md5).toHex());
+ ui.md5->setText(subjectCert.digest(QCryptographicHash::Md5).toHex());
ui.sha1->setText(subjectCert.digest(QCryptographicHash::Sha1).toHex());
}