Merge pull request #3862 from bensze01/ecb_iv_fix-2.7

Backport 2.7: Do not set IV size for ECB mode ciphers