diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-03-23 22:42:46 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-03-23 22:42:46 +0100 |
commit | e792f2d04614dbcbd27076a042c28f6fb20d7abd (patch) | |
tree | 6f98d901a06cd3ea8b40178b777afccd29ca22ed /openvpn/src/compat/compat-rsa_generate_key.c | |
parent | 6ba818e5c9e1d7d50478cf161fe819597499477d (diff) |
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
Diffstat (limited to 'openvpn/src/compat/compat-rsa_generate_key.c')
-rw-r--r-- | openvpn/src/compat/compat-rsa_generate_key.c | 2 |
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 |