added manual allocation for buffer
just trying to fix da fukin github actionz
This commit is contained in:
parent
67380f51cf
commit
471c676af2
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
char *buffer;
|
char *buffer = malloc(sizeof(int) * strlen(TEST_TEXT));
|
||||||
|
|
||||||
inputFlags flags =
|
inputFlags flags =
|
||||||
{
|
{
|
||||||
@ -16,7 +16,7 @@ int main(void)
|
|||||||
|
|
||||||
outputFlags encrypted = encryptText(TEST_TEXT, NULL, flags);
|
outputFlags encrypted = encryptText(TEST_TEXT, NULL, flags);
|
||||||
|
|
||||||
buffer = encrypted.outputText; //GET ENCRYPTED TEXT
|
strcpy(buffer, encrypted.outputText); //GET ENCRYPTED TEXT
|
||||||
|
|
||||||
encrypted = decryptText(encrypted.outputText, encrypted.usedKey, flags);
|
encrypted = decryptText(encrypted.outputText, encrypted.usedKey, flags);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user