diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-06-04 20:11:17 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-06-04 20:11:17 +0000 |
commit | 5799b72178a6e55938712781901e054be3cb7ace (patch) | |
tree | d734d450bdd97e5ade8ffb97e3f06a601b94f369 /apps | |
parent | 1cfe6842d5e27c64f16a3de210fff00600da50eb (diff) |
Oops... missed this part of backport.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_client.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 9a0989fc42..60a8d13df1 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -673,6 +673,20 @@ bad: goto end; } +#ifndef OPENSSL_NO_ENGINE + if (ssl_client_engine) + { + if (!SSL_CTX_set_client_cert_engine(ctx, ssl_client_engine)) + { + BIO_puts(bio_err, "Error setting client auth engine\n"); + ERR_print_errors(bio_err); + ENGINE_free(ssl_client_engine); + goto end; + } + ENGINE_free(ssl_client_engine); + } +#endif + if (bugs) SSL_CTX_set_options(ctx,SSL_OP_ALL|off); else |