From e792f2d04614dbcbd27076a042c28f6fb20d7abd Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 23 Mar 2013 22:42:46 +0100 Subject: Allow building with polarssl Not very useful at the moment since pkcs12 and external key management are not supported but might be useful one day --- openvpn/src/compat/compat-rsa_generate_key.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openvpn/src') diff --git a/openvpn/src/compat/compat-rsa_generate_key.c b/openvpn/src/compat/compat-rsa_generate_key.c index 99725da1..87dd1ccb 100644 --- a/openvpn/src/compat/compat-rsa_generate_key.c +++ b/openvpn/src/compat/compat-rsa_generate_key.c @@ -4,6 +4,7 @@ #include #include +#ifdef ENABLE_CRYPTO_OPENSSL RSA *RSA_generate_key(int bits, unsigned long e_value, void (*callback)(int,int,void *), void *cb_arg) { @@ -45,3 +46,4 @@ getpass (prompt) return ""; } +#endif -- cgit v1.2.3