mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-10 05:20:52 +02:00
F-5757 - Reject negative Size in Ada AES_Set_Cbc_Decrypt wrapper
This commit is contained in:
@@ -1522,6 +1522,10 @@ package body WolfSSL is
|
||||
Size : Integer;
|
||||
Result : out Integer) is
|
||||
begin
|
||||
if Size < 0 then
|
||||
Result := Exception_Error;
|
||||
return;
|
||||
end if;
|
||||
declare
|
||||
R : int;
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user