summaryrefslogtreecommitdiff
path: root/openvpn/src/compat
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn/src/compat')
-rw-r--r--openvpn/src/compat/compat-rsa_generate_key.c2
1 files changed, 2 insertions, 0 deletions
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 <openssl/bn.h>
#include <openssl/rsa.h>
+#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