Mercurial > trustbridge
view ui/certificate_linux.cpp @ 60:6acb1dae6185
Use strn functions and improve error handling.
Even if we know the strings are NULL terminated we use
length terminated string functions after a first strlen
this makes it easier to assert that at one point we know
the string is terminated and afterwards use the length
of that.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 18 Mar 2014 11:28:02 +0000 |
parents | dc1e1e9e62ce |
children |
line wrap: on
line source
#include "certificate.h" #ifdef Q_OS_LINUX Certificate::Certificate(const QByteArray& asn1data) : mValid(false) { } Certificate::~Certificate() { } #endif