diff --git a/src/openvpn/options.c b/src/openvpn/options.c
index 56041bb..18efe41 100644
--- a/src/openvpn/options.c
+++ b/src/openvpn/options.c
@@ -4087,7 +4087,7 @@
     errs |= check_file_access_inline(options->cert_file_inline, CHKACC_FILE,
                                      options->cert_file, R_OK, "--cert");
 
-    errs |= check_file_access_inline(options->extra_certs_file, CHKACC_FILE,
+    errs |= check_file_access_inline(options->extra_certs_file_inline, CHKACC_FILE,
                                      options->extra_certs_file, R_OK,
                                      "--extra-certs");
 
diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c
index 2f48af4..5402463 100644
--- a/src/openvpn/ssl.c
+++ b/src/openvpn/ssl.c
@@ -2455,7 +2455,7 @@
     free(multi->remote_ciphername);
     multi->remote_ciphername =
         options_string_extract_option(options, "cipher", NULL);
-    multi->remote_usescomp = strstr(options, ",comp-lzo,");
+    multi->remote_usescomp = (strstr(options, ",comp-lzo,") != NULL);
 
     /* In OCC we send '[null-cipher]' instead 'none' */
     if (multi->remote_ciphername
