comparison ui/sslhelp.cpp @ 483:a055847decbc

merged.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 24 Apr 2014 12:45:11 +0200
parents 6c4f526a4c5b
children c8a6a3e6bdeb
comparison
equal deleted inserted replaced
482:0f4331ed4e83 483:a055847decbc
16 16
17 QString getPolarSSLErrorMsg(int ret) 17 QString getPolarSSLErrorMsg(int ret)
18 { 18 {
19 char errbuf[1020]; 19 char errbuf[1020];
20 polarssl_strerror(ret, errbuf, 1020); 20 polarssl_strerror(ret, errbuf, 1020);
21 errbuf[1020] = '\0'; /* Just to be sure */ 21 errbuf[1019] = '\0'; /* Just to be sure */
22 return QString::fromLatin1(errbuf); 22 return QString::fromLatin1(errbuf);
23 } 23 }
24 24
25 QByteArray sha256sum(const QByteArray& data) 25 QByteArray sha256sum(const QByteArray& data)
26 { 26 {

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