diff options
Diffstat (limited to 'chromium/net/quic/crypto/scoped_evp_cipher_ctx.cc')
-rw-r--r-- | chromium/net/quic/crypto/scoped_evp_cipher_ctx.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/chromium/net/quic/crypto/scoped_evp_cipher_ctx.cc b/chromium/net/quic/crypto/scoped_evp_cipher_ctx.cc deleted file mode 100644 index b904f870fdd..00000000000 --- a/chromium/net/quic/crypto/scoped_evp_cipher_ctx.cc +++ /dev/null @@ -1,22 +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. - -#include "net/quic/crypto/scoped_evp_cipher_ctx.h" - -#include <openssl/evp.h> - -namespace net { - -ScopedEVPCipherCtx::ScopedEVPCipherCtx() - : ctx_(EVP_CIPHER_CTX_new()) { } - -ScopedEVPCipherCtx::~ScopedEVPCipherCtx() { - EVP_CIPHER_CTX_free(ctx_); -} - -EVP_CIPHER_CTX* ScopedEVPCipherCtx::get() const { - return ctx_; -} - -} // namespace net |