]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fixed a bug where PolarSSL gave an error when using an inline file tag.
authorAdriaan de Jong <dejong@fox-it.com>
Wed, 17 Oct 2012 09:39:25 +0000 (11:39 +0200)
committerDavid Sommerseth <davids@redhat.com>
Wed, 17 Oct 2012 10:15:22 +0000 (12:15 +0200)
Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 1350466765-23301-1-git-send-email-dejong@fox-it.com
Signed-off-by: David Sommerseth <davids@redhat.com>
src/openvpn/ssl_polarssl.c

index 6995958b9c63bd12f486a6ef3455f1abf49b9fc3..12318b333f7eaf639ec92b421973693f87f35618 100644 (file)
@@ -338,7 +338,7 @@ void tls_ctx_load_ca (struct tls_root_ctx *ctx, const char *ca_file,
 
   if (ca_file && !strcmp (ca_file, INLINE_FILE_TAG) && ca_file_inline)
     {
-      if (0 != x509parse_crt(ctx->ca_chain, ca_file_inline, strlen(ca_file_inline)));
+      if (0 != x509parse_crt(ctx->ca_chain, ca_file_inline, strlen(ca_file_inline)))
        msg (M_FATAL, "Cannot load inline CA certificates");
     }
   else