Fix some unused variable warnings in ossl_shim
authorMatt Caswell <matt@openssl.org>
Fri, 14 Oct 2016 15:18:47 +0000 (16:18 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 4 Nov 2016 10:38:54 +0000 (10:38 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
test/ossl_shim/ossl_shim.cc

index 526d614..50c53ab 100644 (file)
@@ -198,8 +198,6 @@ static bool InstallCertificate(SSL *ssl) {
   }
 
   if (pkey) {
-    TestState *test_state = GetTestState(ssl);
-    const TestConfig *config = GetTestConfig(ssl);
     if (!SSL_use_PrivateKey(ssl, pkey.get())) {
       return false;
     }