summaryrefslogtreecommitdiffstats
path: root/base/openssl_util.h
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 16:29:06 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 16:29:06 +0000
commit2500710027b1034c281b4ef99e0907d96759996b (patch)
tree16d3ff653634ab32dd3cb1f25d447e1e7318d3c6 /base/openssl_util.h
parent43a4020cd2aa067b10c55731978d9ac127a4cd50 (diff)
downloadchromium_src-2500710027b1034c281b4ef99e0907d96759996b.zip
chromium_src-2500710027b1034c281b4ef99e0907d96759996b.tar.gz
chromium_src-2500710027b1034c281b4ef99e0907d96759996b.tar.bz2
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
Diffstat (limited to 'base/openssl_util.h')
-rw-r--r--base/openssl_util.h11
1 files changed, 0 insertions, 11 deletions
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_