mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-10 05:40:50 +02:00
F-4229 - Reject negative Size in Ada AES_Set_Cbc_Encrypt wrapper
This commit is contained in:
@@ -1493,6 +1493,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