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:
7ef4650
)
Cleanup mttest.c : better error reporting when certs are missing
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 20:12:07 +0000
(22:12 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit
7a1789d254c561bd3024c971b5cfeeedd12d63f3
)
crypto/threads/mttest.c
patch
|
blob
|
history
diff --git
a/crypto/threads/mttest.c
b/crypto/threads/mttest.c
index 7feffcc83cd877c50e0dc4dcc9b56eee0e4948a2..2621ec0e5cd14423419192576124a9924182cca0 100644
(file)
--- a/
crypto/threads/mttest.c
+++ b/
crypto/threads/mttest.c
@@
-278,9
+278,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;
}