libdigidocpp
OpenSSLHelpers.h File Reference
#include <openssl/x509.h>
Include dependency graph for OpenSSLHelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  X509Stack_scope

Macros

#define DECLARE_OPENSSL_RELEASE_STRUCT(type)

Macro Definition Documentation

#define DECLARE_OPENSSL_RELEASE_STRUCT (   type)
Value:
struct type##_scope \
{ \
type** p; \
type##_scope(type** p) { this->p = p; } \
~type##_scope() { if(p && *p) { type##_free(*p); *p = NULL; } } \
};

Definition at line 24 of file OpenSSLHelpers.h.

Referenced by digidoc::X509Cert::verify().