view ui/sslhelp.cpp @ 463:5200b8e9b2ae

Rename tablemodel certificates and add accessors
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 23 Apr 2014 15:33:09 +0000
parents f8b480b08532
children 2e100d3e414a
line wrap: on
line source
/* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU GPL (v>=2)
 * and comes with ABSOLUTELY NO WARRANTY!
 * See LICENSE.txt for details.
 */
#include "sslhelp.h"

QString getPolarSSLErrorMsg(int ret)
{
    char errbuf[1020];
    polarssl_strerror(ret, errbuf, 1020);
    errbuf[1020] = '\0'; /* Just to be sure */
    return QString::fromLatin1(errbuf);
}

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