aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorFrancis Dupont <[email protected]>2017-06-12 15:20:03 +0200
committerFrancis Dupont <[email protected]>2017-06-12 15:20:03 +0200
commit638c3178cb9a100c1b427cb31be07ff979d0a83e (patch)
tree50dab233177f5aa3b7cfdc9db240cb04b8c12181 /src/lib
parent6149a8a7ac9dd940c34af7f41e10610f75e8995b (diff)
Addressed #1071 (unfinished change in master cipher_filter.cpp)
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/filters/cipher_filter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/filters/cipher_filter.cpp b/src/lib/filters/cipher_filter.cpp
index 03727f239..a3e7bd1c3 100644
--- a/src/lib/filters/cipher_filter.cpp
+++ b/src/lib/filters/cipher_filter.cpp
@@ -28,7 +28,7 @@ Cipher_Mode_Filter::Cipher_Mode_Filter(Cipher_Mode* mode) :
Buffered_Filter(choose_update_size(mode->update_granularity()),
mode->minimum_final_size()),
m_mode(mode),
- m_nonce(mode->default_nonce_length() == 0),
+ m_nonce(mode->default_nonce_length()),
m_buffer(m_mode->update_granularity())
{
}