comparison ui/certificate.cpp @ 379:2ddc685cba33

Make the fingerprint uppercase
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 15 Apr 2014 12:39:27 +0200
parents 31079bd54036
children 1220b741cd51
comparison
equal deleted inserted replaced
378:31079bd54036 379:2ddc685cba33
56 for (int i=0; i < 20; i++) { 56 for (int i=0; i < 20; i++) {
57 mFingerprint += QString("%1").arg(sha1sum[i], 0, 16); 57 mFingerprint += QString("%1").arg(sha1sum[i], 0, 16);
58 if (i != 19) { 58 if (i != 19) {
59 mFingerprint += ":"; 59 mFingerprint += ":";
60 } 60 }
61 mFingerprint = mFingerprint.toUpper();
61 } 62 }
62 63
63 x509_crt_free(&chain); 64 x509_crt_free(&chain);
64 65
65 mDetails = QObject::tr("Certificate:\n" 66 mDetails = QObject::tr("Certificate:\n"

http://wald.intevation.org/projects/trustbridge/