OpenVPN 3 Core Library
|
#include "test_common.hpp"
#include <iostream>
#include <openvpn/common/file.hpp>
#include <openvpn/pki/cclist.hpp>
#include <openvpn/openssl/pki/x509.hpp>
#include <openvpn/openssl/pki/x509store.hpp>
#include <openvpn/openssl/pki/pkey.hpp>
#include <openvpn/openssl/pki/dh.hpp>
#include <openvpn/openssl/pki/crl.hpp>
#include <openvpn/init/initprocess.hpp>
Go to the source code of this file.
Macros | |
#define | CERTDIR UNITTEST_SOURCE_DIR "/pki" |
Typedefs | |
typedef CertCRLListTemplate< OpenSSLPKI::X509List, OpenSSLPKI::CRLList > | CertCRLList |
Functions | |
template<typename VEC > | |
VEC | move_contents (VEC &src) |
void | move_contents (CertCRLList &dest, CertCRLList &src) |
void | test_cert_crl () |
void | test_output_pem () |
void | test_pkey () |
void | test_dh () |
TEST (PKI, crl) | |
TEST (PKI, pkey) | |
TEST (PKI, dh) | |
Variables | |
constexpr const char * | testcert |
static bool | verbose_output = false |
#define CERTDIR UNITTEST_SOURCE_DIR "/pki" |
Definition at line 32 of file test_opensslpki.cpp.
Definition at line 15 of file test_opensslpki.cpp.
void move_contents | ( | CertCRLList & | dest, |
CertCRLList & | src | ||
) |
Definition at line 26 of file test_opensslpki.cpp.
VEC move_contents | ( | VEC & | src | ) |
TEST | ( | PKI | , |
crl | |||
) |
Definition at line 148 of file test_opensslpki.cpp.
TEST | ( | PKI | , |
dh | |||
) |
Definition at line 158 of file test_opensslpki.cpp.
TEST | ( | PKI | , |
pkey | |||
) |
Definition at line 153 of file test_opensslpki.cpp.
void test_cert_crl | ( | ) |
void test_dh | ( | ) |
void test_output_pem | ( | ) |
Definition at line 80 of file test_opensslpki.cpp.
void test_pkey | ( | ) |
|
constexpr |
Definition at line 67 of file test_opensslpki.cpp.
|
static |
Definition at line 146 of file test_opensslpki.cpp.