projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4c73bf
)
Cleanup mttest.c : better error reporting when certs are miggins
author
Richard Levitte
<levitte@openssl.org>
Sun, 21 Jun 2015 17:13:57 +0000
(19:13 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 21 Jun 2015 19:45:47 +0000
(21:45 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/threads/mttest.c
patch
|
blob
|
history
diff --git
a/crypto/threads/mttest.c
b/crypto/threads/mttest.c
index 0ad8d0fe1832e4c19ebe7c3ae7d64eae6b92c763..2016eda7e6898e7128c096536fc48fe06da90b4d 100644
(file)
--- a/
crypto/threads/mttest.c
+++ b/
crypto/threads/mttest.c
@@
-276,9
+276,12
@@
int main(int argc, char *argv[])
SSL_SESS_CACHE_SERVER);
if (!SSL_CTX_use_certificate_file(s_ctx, scert, SSL_FILETYPE_PEM)) {
+ BIO_printf(bio_err, "SSL_CTX_use_certificate_file (%s)\n", scert);
ERR_print_errors(bio_err);
+ goto end;
} else
if (!SSL_CTX_use_RSAPrivateKey_file(s_ctx, scert, SSL_FILETYPE_PEM)) {
+ BIO_printf(bio_err, "SSL_CTX_use_RSAPrivateKey_file (%s)\n", scert);
ERR_print_errors(bio_err);
goto end;
}