Hi,

On 21-04-14 11:04, Gert Doering wrote:
> When test-building, it seems that there is a patch missing to the plugin 
> API bits...

Ah, right, I usually compile polar builds without the plugin api.
Attached a patch that should fix this. It compiles and passes client_t
tests, but I don't have plugin tests to really verify everything works...

-Steffan
>From 491fd5e253a62940caafd973377019be1e3164f3 Mon Sep 17 00:00:00 2001
From: Steffan Karger <stef...@karger.me>
List-Post: openvpn-devel@lists.sourceforge.net
Date: Mon, 21 Apr 2014 11:52:51 +0200
Subject: [PATCH] Update openvpn-plugin.h for PolarSSL 1.3.

Signed-off-by: Steffan Karger <stef...@karger.me>
---
 include/openvpn-plugin.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/openvpn-plugin.h b/include/openvpn-plugin.h
index 03da92a..5f2d407 100644
--- a/include/openvpn-plugin.h
+++ b/include/openvpn-plugin.h
@@ -29,10 +29,10 @@

 #ifdef ENABLE_SSL
 #ifdef ENABLE_CRYPTO_POLARSSL
-#include <polarssl/x509.h>
+#include <polarssl/x509_crt.h>
 #ifndef __OPENVPN_X509_CERT_T_DECLARED
 #define __OPENVPN_X509_CERT_T_DECLARED
-typedef x509_cert openvpn_x509_cert_t;
+typedef x509_crt openvpn_x509_cert_t;
 #endif
 #else
 #include <openssl/x509.h>
-- 
1.8.3.2

Reply via email to