Mercurial > trustbridge
comparison ui/sslhelp.h @ 452:f8b480b08532
Factor out polarssl error handling and start new sslhelp file
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 23 Apr 2014 10:33:40 +0000 |
parents | |
children | 2e100d3e414a |
comparison
equal
deleted
inserted
replaced
451:94613c91a3d4 | 452:f8b480b08532 |
---|---|
1 /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik | |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU GPL (v>=2) | |
5 * and comes with ABSOLUTELY NO WARRANTY! | |
6 * See LICENSE.txt for details. | |
7 */ | |
8 | |
9 | |
10 /** | |
11 * @file sslhelp.h | |
12 * @brief Helper functions to combine Qt with Polarssl | |
13 */ | |
14 #include <polarssl/error.h> | |
15 | |
16 #include <QString> | |
17 | |
18 /** @brief get a human readable error message for a polarssl return code | |
19 * | |
20 * @param [in] ret A polarssl error code | |
21 * @returns A QString representation of that error | |
22 */ | |
23 QString getPolarSSLErrorMsg(int ret); |