]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crypto: don't clean up EVP table on every decrypt()
authorSage Weil <sage@newdream.net>
Mon, 7 Jun 2010 05:14:50 +0000 (22:14 -0700)
committerSage Weil <sage@newdream.net>
Mon, 7 Jun 2010 05:15:18 +0000 (22:15 -0700)
Don't think that's appropriate?  And certainly doesn't happen for the
encrypt() case.

src/auth/Crypto.cc

index e6392711008edb7dcf5fc65feae3182b65f4cdcd..bca39bfa6d2eb5fe69b23b0915a779aa1faa6bac 100644 (file)
@@ -212,7 +212,6 @@ int CryptoAES::decrypt(bufferptr& secret, const bufferlist& in, bufferlist& out)
   }
 
   EVP_CIPHER_CTX_free(ctx);
-  EVP_cleanup();
   return result;
 }