diff options
author | Alon Bar-Lev | 2012-02-29 22:12:10 +0200 |
---|---|---|
committer | David Sommerseth | 2012-03-22 22:53:39 +0100 |
commit | 9b33b5a4b1aa170080d18b0f32f6599b519589f0 (patch) | |
tree | bf033b98d14a56d7adb18d3345be2a94df850c0d /src/openvpn/ssl_verify_polarssl.h | |
parent | 74bbc71b75bac49f5c9df81827fa184b8a365d36 (diff) | |
download | openvpn-9b33b5a4b1aa170080d18b0f32f6599b519589f0.zip openvpn-9b33b5a4b1aa170080d18b0f32f6599b519589f0.tar.gz |
build: proper crypto detection and usage
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: Adriaan de Jong <dejong@fox-it.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/ssl_verify_polarssl.h')
-rw-r--r-- | src/openvpn/ssl_verify_polarssl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/openvpn/ssl_verify_polarssl.h b/src/openvpn/ssl_verify_polarssl.h index cd7eb75..fceee66 100644 --- a/src/openvpn/ssl_verify_polarssl.h +++ b/src/openvpn/ssl_verify_polarssl.h @@ -35,7 +35,10 @@ #include "manage.h" #include <polarssl/x509.h> -typedef x509_cert x509_cert_t; +#ifndef __OPENVPN_X509_CERT_T_DECLARED +#define __OPENVPN_X509_CERT_T_DECLARED +typedef x509_cert openvpn_x509_cert_t; +#endif /** @name Function for authenticating a new connection from a remote OpenVPN peer * @{ */ |