aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-09-03 10:24:51 +0200
committerHans Nilsson <[email protected]>2018-09-07 13:50:15 +0200
commit0a173490c5348ffd045482fc5f29a3b49d3cf325 (patch)
tree0a9479f5c944841e4cf31428d3fa50244b362380 /lib/crypto
parentd4d6ed058530e5db26782dea4a0fd62c2d1098c4 (diff)
downloadotp-0a173490c5348ffd045482fc5f29a3b49d3cf325.tar.gz
otp-0a173490c5348ffd045482fc5f29a3b49d3cf325.tar.bz2
otp-0a173490c5348ffd045482fc5f29a3b49d3cf325.zip
crypto: Bug fix - blowfish_cbc allowed in crypto:next_iv
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/src/crypto.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl
index a9d933f5d7..3c3e9a7f34 100644
--- a/lib/crypto/src/crypto.erl
+++ b/lib/crypto/src/crypto.erl
@@ -298,6 +298,7 @@ next_iv(Type, Data) when is_binary(Data) ->
IVecSize = case Type of
des_cbc -> 8;
des3_cbc -> 8;
+ blowfish_cbc -> 8;
aes_cbc -> 16;
aes_ige -> 32
end,