Fixed a bug where PolarSSL gave an error when using an inline file tag.
PATCH 1/1 Fixed a bug where PolarSSL gave an error when using an inline file tag.
Signed-off-by Adriaan de Jong <[email protected]...>
--- src/openvpn/ssl_polarssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/ssl_polarssl.c +1 -1
@@ -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
Signature · 1 line
1.7.9.5
Quoted 5 lines · Adriaan de Jong
Signed-off-by Adriaan de Jong <[email protected]...>--- src/openvpn/ssl_polarssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ACK. Applied to master and beta/2.3.
commit 2ebbe4c0b4f0f0b15b4c32180e906a545446c376 (master) commit a4b99628d19d6130a4f53e0ed84d9d0b2fd28dc0 (beta/2.3)
Author: Adriaan de Jong <[email protected]...> Date: Wed Oct 17 11:39:25 2012 +0200
Fixed a bug where PolarSSL gave an error when using an inline file tag.
Signed-off-by: Adriaan de Jong <[email protected]...>
Acked-by: David Sommerseth <[email protected]...>
Message-Id: [email protected]...
Signed-off-by: David Sommerseth <[email protected]...>kind regards,
David Sommerseth