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 526d614d261d073f2c758cbbb5f474e1b513a232..50c53ab64451bd7969ad395802346a8fa42765e0 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;
     }