X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=base64%2Fbase64_dec.c;h=2a6e94141868b8e86a3e94847fe6dd9825572bf3;hb=25b45eaba64e69516286d0352797be89da7f40ba;hp=f057f54f1c4b4cdf8f129f4e1461b9dafaad3f41;hpb=d32eba56ce10ea6b9eff123b50d9842673b38f2b;p=avr-crypto-lib.git diff --git a/base64/base64_dec.c b/base64/base64_dec.c index f057f54..2a6e941 100644 --- a/base64/base64_dec.c +++ b/base64/base64_dec.c @@ -29,7 +29,7 @@ #include #include "base64_dec.h" -#include "test_src/cli.h" +#include "cli.h" /* #define USE_GCC_EXTENSION @@ -131,7 +131,7 @@ uint8_t ascii2bit6(uint8_t a){ #endif -int base64_binlength(char* str, uint8_t strict){ +int base64_binlength(char *str, uint8_t strict){ int l=0; uint8_t term=0; for(;;){ @@ -187,7 +187,7 @@ int base64_binlength(char* str, uint8_t strict){ */ -int base64dec(void* dest, char* b64str, uint8_t strict){ +int base64dec(void *dest, const char *b64str, uint8_t strict){ uint8_t buffer[4]; uint8_t idx=0; uint8_t term=0;