diff options
| author | Benedict <benedict@0xb8000.de> | 2017-02-21 12:52:02 +0100 |
|---|---|---|
| committer | Benedict <benedict@0xb8000.de> | 2017-02-21 13:00:25 +0100 |
| commit | ddce9b2d44ab48fc566870c5155b39c8fc06f24d (patch) | |
| tree | 61e6f8d636190ef19f75bfd9cd8e4861ee04cf4f /task1.c | |
| parent | f71df313c4480fb3edd91edb572d8013bec6d352 (diff) | |
moved files of set1 into subdir
Diffstat (limited to 'task1.c')
| -rw-r--r-- | task1.c | 22 |
1 files changed, 0 insertions, 22 deletions
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; - -} |
