git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARC: fix crash on signing with missing key file
[exim.git]
/
test
/
src
/
client.c
diff --git
a/test/src/client.c
b/test/src/client.c
index be8b1cc0db8de0a3c84070f6bd689062b012f150..eef82ef5782be104017762f1a4595d5a4088599c 100644
(file)
--- 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;
{
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;
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);
{
printf("Unable to open '%s': %s", inptr, strerror(errno));
exit(74);