summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2012-10-17 11:39:25 +0200
committerDavid Sommerseth <davids@redhat.com>2012-10-17 12:15:22 +0200
commit2ebbe4c0b4f0f0b15b4c32180e906a545446c376 (patch)
tree459ea28362bf0f715ff8b2da43b12148cc6a9c26 /src
parente92255f58bcfaec157c3ef59e01c40cbd04b1d43 (diff)
downloadopenvpn-2ebbe4c0b4f0f0b15b4c32180e906a545446c376.tar.gz
openvpn-2ebbe4c0b4f0f0b15b4c32180e906a545446c376.tar.xz
openvpn-2ebbe4c0b4f0f0b15b4c32180e906a545446c376.zip
Fixed a bug where PolarSSL gave an error when using an inline file tag.
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>
Diffstat (limited to 'src')
-rw-r--r--src/openvpn/ssl_polarssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/ssl_polarssl.c b/src/openvpn/ssl_polarssl.c
index 6995958..12318b3 100644
--- a/src/openvpn/ssl_polarssl.c
+++ b/src/openvpn/ssl_polarssl.c
@@ -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