aboutsummaryrefslogtreecommitdiff
path: root/ssl.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-01-21 03:39:01 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-01-21 03:39:01 +0000
commitc8c16606cc9c2814b37b2209cb0a138ec1cbe7f3 (patch)
treee156ec3d62433f8e3987484c1c2b92dd6fbf1de4 /ssl.c
parentepoll driver in event.c should be prepared to handle an (diff)
downloadopenvpn-c8c16606cc9c2814b37b2209cb0a138ec1cbe7f3.tar.xz
Simple fix where options->ca_file was used without
first being checked against NULL. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2635 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'ssl.c')
-rw-r--r--ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl.c b/ssl.c
index 712489a..3b12f97 100644
--- a/ssl.c
+++ b/ssl.c
@@ -1230,7 +1230,7 @@ init_ssl (const struct options *options)
int status;
#if ENABLE_INLINE_FILES
- if (!strcmp (options->ca_file, INLINE_FILE_TAG) && options->ca_file_inline)
+ if (options->ca_file && !strcmp (options->ca_file, INLINE_FILE_TAG) && options->ca_file_inline)
{
status = use_inline_load_verify_locations (ctx, options->ca_file_inline);
}