summaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-01-18 11:58:10 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-01-19 09:37:34 +0000
commitf1a496844eddb421ba2a36e551dd308b8a565162 (patch)
treec4ba0bae3cd4c2370b442be9f9e5422cf0abd352 /test/src
parent50936073b7f81a4ca991809d02c77f6fd7813c80 (diff)
Testsuite: munge output for platform variances in postgres server binary location
Diffstat (limited to 'test/src')
-rw-r--r--test/src/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/client.c b/test/src/client.c
index be8b1cc0d..eef82ef57 100644
--- a/test/src/client.c
+++ b/test/src/client.c
@@ -224,7 +224,7 @@ if(!(bs = OCSP_response_get1_basic(rsp)))
}
-if (!(sk = chain_from_pem_file(ocsp_stapling)))
+if (!(sk = chain_from_pem_file((const uschar *)ocsp_stapling)))
{
BIO_printf(arg, "error in cert setup\n");
return 0;
@@ -720,7 +720,7 @@ int rc;
else if (strncmp(CS outbuffer, "<<< ", 4) == 0)
{
FILE * new_f;
- if (!(new_f = fopen(outbuffer+4 , "r")))
+ if (!(new_f = fopen((const char *)outbuffer+4 , "r")))
{
printf("Unable to open '%s': %s", inptr, strerror(errno));
exit(74);