diff options
Diffstat (limited to 'chromium/net/quic/crypto/scoped_evp_cipher_ctx.h')
-rw-r--r-- | chromium/net/quic/crypto/scoped_evp_cipher_ctx.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/chromium/net/quic/crypto/scoped_evp_cipher_ctx.h b/chromium/net/quic/crypto/scoped_evp_cipher_ctx.h deleted file mode 100644 index ec0fd51b92a..00000000000 --- a/chromium/net/quic/crypto/scoped_evp_cipher_ctx.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef NET_QUIC_CRYPTO_SCOPED_EVP_CIPHER_CTX_H_ -#define NET_QUIC_CRYPTO_SCOPED_EVP_CIPHER_CTX_H_ - -typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; - -namespace net { - -// TODO(wtc): this is the same as the ScopedCipherCTX class defined in -// crypto/encryptor_openssl.cc. Eliminate the duplicate code. -// crypto::ScopedOpenSSL is not suitable for EVP_CIPHER_CTX because -// there are no EVP_CIPHER_CTX_create and EVP_CIPHER_CTX_destroy -// functions. -class ScopedEVPCipherCtx { - public: - ScopedEVPCipherCtx(); - ~ScopedEVPCipherCtx(); - - EVP_CIPHER_CTX* get() const; - - private: - EVP_CIPHER_CTX* const ctx_; -}; - -} // namespace net - -#endif // NET_QUIC_CRYPTO_SCOPED_EVP_CIPHER_CTX_H_ |