From ddce9b2d44ab48fc566870c5155b39c8fc06f24d Mon Sep 17 00:00:00 2001 From: Benedict Date: Tue, 21 Feb 2017 12:52:02 +0100 Subject: moved files of set1 into subdir --- task1.c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 task1.c (limited to 'task1.c') diff --git a/task1.c b/task1.c deleted file mode 100644 index 886365b..0000000 --- a/task1.c +++ /dev/null @@ -1,22 +0,0 @@ -#include "lib.h" - - -int main(int argc, char **argv) -{ - if (argc != 2) - return 0; - - - char *result = malloc(strlen(argv[1])); - char *base64 = malloc(strlen(argv[1])); - - decode_hex_string(argv[1], result); - encode_to_base64(result, base64); - - printf("%s\n", base64); - - free(result); - free(base64); - return 0; - -} -- cgit v1.2.3-70-g09d2