diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-01-21 03:39:01 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-01-21 03:39:01 +0000 |
commit | c8c16606cc9c2814b37b2209cb0a138ec1cbe7f3 (patch) | |
tree | e156ec3d62433f8e3987484c1c2b92dd6fbf1de4 /ssl.c | |
parent | epoll driver in event.c should be prepared to handle an (diff) | |
download | openvpn-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |