diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-07-05 10:32:09 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-22 16:00:49 +0200 |
commit | 5fa82c550f8160bb8dd107bc5f3d516ba996dd6d (patch) | |
tree | e20df01535f517f024dfb00594252c713121bd0f | |
parent | 93c22ecc635bc5047468629f2a5423a153910c0b (diff) | |
download | openvpn-5fa82c550f8160bb8dd107bc5f3d516ba996dd6d.tar.gz openvpn-5fa82c550f8160bb8dd107bc5f3d516ba996dd6d.tar.xz openvpn-5fa82c550f8160bb8dd107bc5f3d516ba996dd6d.zip |
Removed support for management external keys in PolarSSL
Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: James Yonan <james@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Signed-off-by: David Sommerseth <davids@redhat.com>
-rw-r--r-- | ssl_polarssl.c | 2 | ||||
-rw-r--r-- | syshead.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ssl_polarssl.c b/ssl_polarssl.c index 032a356..2731081 100644 --- a/ssl_polarssl.c +++ b/ssl_polarssl.c @@ -322,7 +322,7 @@ int tls_ctx_use_external_private_key (struct tls_root_ctx *ctx, x509_cert_t *cert) { msg(M_FATAL, "Use of management external keys not yet supported for PolarSSL."); - + return false; } #endif @@ -539,7 +539,7 @@ socket_defined (const socket_descriptor_t sd) /* * Enable external private key */ -#if defined(ENABLE_MANAGEMENT) && defined(USE_SSL) +#if defined(ENABLE_MANAGEMENT) && defined(USE_SSL) && !defined(USE_POLARSSL) #define MANAGMENT_EXTERNAL_KEY #endif |