From 2500710027b1034c281b4ef99e0907d96759996b Mon Sep 17 00:00:00 2001 From: "joth@chromium.org" Date: Fri, 12 Nov 2010 16:29:06 +0000 Subject: Implements encryptor_openssl.cc Depends on pending CL http://codereview.chromium.org/4691003/ BUG=None TEST=base_unittests Encryptor* Review URL: http://codereview.chromium.org/4777001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65952 0039d316-1c4b-4281-b951-d872f2087c98 --- base/openssl_util.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'base/openssl_util.h') diff --git a/base/openssl_util.h b/base/openssl_util.h index a3f64d4..ed4101f 100644 --- a/base/openssl_util.h +++ b/base/openssl_util.h @@ -55,17 +55,6 @@ class ScopedOpenSSLSafeSizeBuffer { // are send to VLOG(1), on a release build they are disregarded. void ClearOpenSSLERRStack(); -// Put an instance of this class on the call stack to automatically clear the -// OpenSSL error stack on exit of your function. -class ScopedOpenSSLERRClearer { - public: - ScopedOpenSSLERRClearer() {} - ~ScopedOpenSSLERRClearer() { ClearOpenSSLERRStack(); } - - private: - DISALLOW_COPY_AND_ASSIGN(ScopedOpenSSLERRClearer); -}; - } // namespace base #endif // BASE_OPENSSL_UTIL_H_ -- cgit v1.1