changed generateTextKeyChain's key type from array to pointer

This commit is contained in:
Václav Šmejkal 2022-05-28 19:38:46 +02:00
parent b83c466876
commit ad6209b1cb
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#include <why2/flags.h> #include <why2/flags.h>
void checkVersion(inputFlags flags); //THIS FUNCTION CHECKS IF LATEST VERSION OF WHY2 IS USED void checkVersion(inputFlags flags); //THIS FUNCTION CHECKS IF LATEST VERSION OF WHY2 IS USED
void generateTextKeyChain(char key[], int *textKeyChain, int textKeyChainSize); //GENERATES ARRAY FOR ENCRYPTION/DECRYPTION void generateTextKeyChain(char *key, int *textKeyChain, int textKeyChainSize); //GENERATES ARRAY FOR ENCRYPTION/DECRYPTION
void deallocateOutput(outputFlags flags); //DEALLOCATES flags void deallocateOutput(outputFlags flags); //DEALLOCATES flags
void checkKey(char *key, inputFlags flags); //CHECKS IF KEY IS VALID void checkKey(char *key, inputFlags flags); //CHECKS IF KEY IS VALID
int countIntLength(int number); //RETURNS LENGTH OF number int countIntLength(int number); //RETURNS LENGTH OF number

View File

@ -136,7 +136,7 @@ void checkVersion(inputFlags flags)
free(buffer); free(buffer);
} }
void generateTextKeyChain(char key[], int *textKeyChain, int textKeyChainSize) void generateTextKeyChain(char *key, int *textKeyChain, int textKeyChainSize)
{ {
int numberBuffer; int numberBuffer;