diff --git a/Insecure.c b/Insecure.c deleted file mode 100644 index fcd95ec..0000000 --- a/Insecure.c +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include -#include -#include - -void non_secure(char* str) -{ - gets(str); -} - -void secure(char* str) -{ - gets_s(str, sizeof(str)); -} - -static bool IsShorterStr(char* input) -{ - char randomstr[15]; - strcpy(randomstr, input); - - if (strlen(randomstr) > strlen(input)) - return true; - else - return false; -}