Skip to content

Patches for Embarcadero C++ Builder (classic Borland compiler).#47

Open
nased0 wants to merge 2 commits intokkAyataka:masterfrom
nased0:master
Open

Patches for Embarcadero C++ Builder (classic Borland compiler).#47
nased0 wants to merge 2 commits intokkAyataka:masterfrom
nased0:master

Conversation

@nased0
Copy link

@nased0 nased0 commented Jun 21, 2024

Small code changes to allow compilation by the Borland BCC32.exe compiler and to eliminate a warning about a signed/unsigned comparison.
BCC32.exe compiler is still used in Embarcadero C++ Builder 12.

In function encrypt_cb iv is now just a pointer to an array of 16 bytes. Borland's compiler does not accept current notation, and there is no reason for it. Besides, if current argument iv is a pointer to a pointer to an array of bytes, then checking if iv is not null does not ensure that *iv that is an argument to a function detail::xor_data(s, *iv) is not null.

nased0 added 2 commits June 21, 2024 10:15
Small code corrections to allow compilation by Borland BCC32.exe compiler.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant