diff options
-rw-r--r-- | openvpn.8 | 1 | ||||
-rw-r--r-- | options.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -3952,6 +3952,7 @@ they are distributed with OpenVPN, they are totally insecure. .B \-\-capath dir Directory containing trusted certificates (CAs and CRLs). Available with OpenSSL version >= 0.9.7 dev. +Not available with PolarSSL. .\"********************************************************* .TP .B \-\-dh file @@ -2281,6 +2281,8 @@ options_postprocess_verify_ce (const struct options *options, const struct conne #ifdef USE_POLARSSL if (!(options->ca_file)) msg(M_USAGE, "You must define CA file (--ca)"); + if (options->ca_path) + msg(M_USAGE, "Parameter --capath cannot be used with the PolarSSL version version of OpenVPN."); #else if ((!(options->ca_file)) && (!(options->ca_path))) msg(M_USAGE, "You must define CA file (--ca) or CA path (--capath)"); |