From: Dr. Stephen Henson Date: Wed, 4 Jun 2008 20:11:17 +0000 (+0000) Subject: Oops... missed this part of backport. X-Git-Tag: OpenSSL_0_9_8i~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5799b72178a6e55938712781901e054be3cb7ace;p=oweals%2Fopenssl.git Oops... missed this part of backport. --- 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