8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 02:03:04 +01:00
This commit is contained in:
AlexPeshkoff 2021-06-18 16:10:57 +03:00
parent b43c4e7d64
commit e597db3c7d

View File

@ -3068,7 +3068,7 @@ dsc* evlEncryptDecrypt(thread_db* tdbb, const SysFunction* function, const NestV
if (m)
{
unsigned blockLen = cipher_descriptor[cipher].block_length;
if (iv.getBytes() && iv.getLength() != blockLen)
if (iv.getLength() && iv.getLength() != blockLen)
status_exception::raise(Arg::Gds(isc_tom_iv_length) << Arg::Num(iv.getLength()) << Arg::Num(blockLen));
switch (m->code)