From c8c16606cc9c2814b37b2209cb0a138ec1cbe7f3 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 21 Jan 2008 03:39:01 +0000 Subject: 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 --- ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit