From: james Date: Mon, 21 Jan 2008 03:39:01 +0000 (+0000) Subject: Simple fix where options->ca_file was used without X-Git-Tag: v2.1_rc5~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8c16606cc9c2814b37b2209cb0a138ec1cbe7f3;p=thirdparty%2Fopenvpn.git 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 --- diff --git a/ssl.c b/ssl.c index 712489aef..3b12f9798 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); }