mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 02:03:04 +01:00
Postfix for #6858
This commit is contained in:
parent
b43c4e7d64
commit
e597db3c7d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user