diff options
Diffstat (limited to 'src/cms/cms_algo.cpp')
-rw-r--r-- | src/cms/cms_algo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cms/cms_algo.cpp b/src/cms/cms_algo.cpp index e74c385fa..33652a6b6 100644 --- a/src/cms/cms_algo.cpp +++ b/src/cms/cms_algo.cpp @@ -53,7 +53,7 @@ SecureVector<byte> do_rfc3217_wrap(RandomNumberGenerator& rng, const BlockCipher* cipher = af.prototype_block_cipher(cipher_name); - if(!cipher || cipher->BLOCK_SIZE != 8) + if(!cipher || cipher->block_size() != 8) throw Encoding_Error("do_rfc3217_wrap: Bad cipher: " + cipher_name); Pipe icv(new Hash_Filter(new SHA_160, 8)); |