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>
.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
#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)");