summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-16 13:39:20 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-16 13:39:20 +0000
commit05d11e3d79fafa19a06bf45652e39cb9bef5207a (patch)
tree3d3998b93e40708f65927a033915458f986d0fcb
parentc13953e3149140bffbce4cdbc547e2bc96601488 (diff)
downloadopenvpn-05d11e3d79fafa19a06bf45652e39cb9bef5207a.tar.gz
openvpn-05d11e3d79fafa19a06bf45652e39cb9bef5207a.tar.xz
openvpn-05d11e3d79fafa19a06bf45652e39cb9bef5207a.zip
VERSION 2.1_beta4 (re-released)
--capath fix in ssl.c git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@641 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r--ChangeLog1
-rw-r--r--ssl.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1a236cf..87d2f5b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@ $Id$
* Fixed bug introduced in 2.1-beta3 where management
socket bind would fail.
+* --capath fix in ssl.c (Zhuang Yuyao).
* Added ".PHONY: plugin" to Makefile.am, reverted
location of "plugin" directory (thanks to
Matthias Andree for figuring this out).
diff --git a/ssl.c b/ssl.c
index 2d65d82..05bd85f 100644
--- a/ssl.c
+++ b/ssl.c
@@ -911,7 +911,7 @@ init_ssl (const struct options *options)
}
}
- if (options->ca_file)
+ if (options->ca_file || options->ca_path)
{
/* Load CA file for verifying peer supplied certificate */
ASSERT (options->ca_file || options->ca_path);