aboutsummaryrefslogtreecommitdiff
path: root/src/openvpn/ssl_verify_polarssl.h
diff options
context:
space:
mode:
authorAlon Bar-Lev2012-02-29 22:12:10 +0200
committerDavid Sommerseth2012-03-22 22:53:39 +0100
commit9b33b5a4b1aa170080d18b0f32f6599b519589f0 (patch)
treebf033b98d14a56d7adb18d3345be2a94df850c0d /src/openvpn/ssl_verify_polarssl.h
parent74bbc71b75bac49f5c9df81827fa184b8a365d36 (diff)
downloadopenvpn-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.h5
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
* @{ */