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
Lose duplicated cert in ocsp response
[exim.git]
/
test
/
src
/
client.c
diff --git
a/test/src/client.c
b/test/src/client.c
index 29712bb5e6128cf489a68048d135700495664252..4e244981752b3c764709a0a627b2b9c78fef0ee7 100644
(file)
--- a/
test/src/client.c
+++ b/
test/src/client.c
@@
-211,18
+211,18
@@
len = SSL_get_tlsext_status_ocsp_resp(s, &p);
/*BIO_printf(arg, "OCSP response: ");*/
if (!p)
{
/*BIO_printf(arg, "OCSP response: ");*/
if (!p)
{
- BIO_printf(arg, "no response received\n");
+ BIO_printf(arg, "no
OCSP
response received\n");
return 1;
}
if(!(rsp = d2i_OCSP_RESPONSE(NULL, &p, len)))
{
return 1;
}
if(!(rsp = d2i_OCSP_RESPONSE(NULL, &p, len)))
{
- BIO_printf(arg, "response parse error\n");
+ BIO_printf(arg, "
OCSP
response parse error\n");
BIO_dump_indent(arg, (char *)p, len, 4);
return 0;
}
if(!(bs = OCSP_response_get1_basic(rsp)))
{
BIO_dump_indent(arg, (char *)p, len, 4);
return 0;
}
if(!(bs = OCSP_response_get1_basic(rsp)))
{
- BIO_printf(arg, "error parsing response\n");
+ BIO_printf(arg, "error parsing
OCSP
response\n");
return 0;
}
return 0;
}
@@
-240,12
+240,12
@@
when OCSP_NOVERIFY is set. The content from the wire
if(OCSP_basic_verify(bs, sk, NULL, OCSP_NOVERIFY) <= 0)
{
if(OCSP_basic_verify(bs, sk, NULL, OCSP_NOVERIFY) <= 0)
{
- BIO_printf(arg, "
Response Verify F
ailure\n");
+ BIO_printf(arg, "
OCSP status response verify f
ailure\n");
ERR_print_errors(arg);
ret = 0;
}
else
ERR_print_errors(arg);
ret = 0;
}
else
- BIO_printf(arg, "
Response verify OK
\n");
+ BIO_printf(arg, "
OCSP status response: good signature
\n");
cert_stack_free(sk);
return ret;
cert_stack_free(sk);
return ret;