summaryrefslogtreecommitdiffstats
path: root/base/crypto/encryptor_openssl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/crypto/encryptor_openssl.cc')
-rw-r--r--base/crypto/encryptor_openssl.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/base/crypto/encryptor_openssl.cc b/base/crypto/encryptor_openssl.cc
index 7e09545..0e101a0 100644
--- a/base/crypto/encryptor_openssl.cc
+++ b/base/crypto/encryptor_openssl.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -45,7 +45,8 @@ class ScopedCipherCTX {
} // namespace
Encryptor::Encryptor()
- : key_(NULL) {
+ : key_(NULL),
+ mode_(CBC) {
}
Encryptor::~Encryptor() {