comparison ui/sslhelp.cpp @ 1390:f3e2df6b49ba

(issue181) Fix hardcoded values for RSA codesigning key size.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 19 Jan 2015 15:42:20 +0100
parents c8a6a3e6bdeb
children
comparison
equal deleted inserted replaced
1387:c64b6c56ce96 1390:f3e2df6b49ba
74 if (ret != 0) { 74 if (ret != 0) {
75 qDebug() << "Failed to sign: " << getPolarSSLErrorMsg(ret); 75 qDebug() << "Failed to sign: " << getPolarSSLErrorMsg(ret);
76 return QByteArray(); 76 return QByteArray();
77 } 77 }
78 78
79 if (sig_len != 3072 / 8) {
80 qDebug() << "Invalid size of signature: " << sig_len;
81 return QByteArray();
82 }
83
84 return QByteArray((const char *)sig, (int)sig_len); 79 return QByteArray((const char *)sig, (int)sig_len);
85 } 80 }

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