From aedf33aed53a414a0935d578da1817d8cbaa11ad Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 19 Oct 2016 11:22:07 +0100 Subject: Remove some flags that are unused in the shim Reviewed-by: Richard Levitte --- test/ossl_shim/ossl_shim.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/ossl_shim/ossl_shim.cc') diff --git a/test/ossl_shim/ossl_shim.cc b/test/ossl_shim/ossl_shim.cc index 99733f6065..fc2180ef5e 100644 --- a/test/ossl_shim/ossl_shim.cc +++ b/test/ossl_shim/ossl_shim.cc @@ -340,7 +340,7 @@ static int CertCallback(SSL *ssl, void *arg) { } // The certificate will be installed via other means. - if (!config->async || config->use_early_callback || + if (!config->async || config->use_old_client_cert_callback) { return 1; } @@ -890,8 +890,7 @@ static bool DoExchange(bssl::UniquePtr *out_session, return false; } // Install the certificate synchronously if nothing else will handle it. - if (!config->use_early_callback && - !config->use_old_client_cert_callback && + if (!config->use_old_client_cert_callback && !config->async && !InstallCertificate(ssl.get())) { return false; -- cgit v1.2.3