tMove base64_index() prototype to base64.c - sick - sign and check files using ed25519
(HTM) git clone git://z3bra.org/sick
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 16776aab3a8a26454bcf39caf645b40f0cb3ad4b
(DIR) parent 8607d9671280e57b2dac351bf74ad3b4292bd586
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Tue, 10 May 2016 19:44:59 +0200
Move base64_index() prototype to base64.c
Diffstat:
M base64.c | 2 ++
M base64.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/base64.c b/base64.c
t@@ -9,6 +9,8 @@
#define BASE64_FOLD 76
+uint8_t base64_index(const char *, char);
+
const char base64_table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
uint8_t
(DIR) diff --git a/base64.h b/base64.h
t@@ -1,7 +1,6 @@
#ifndef BASE64_H__
#define BASE64_H__
-uint8_t base64_index(const char *base64, char ch);
size_t base64_encode(char **buf, const unsigned char *msg, size_t len);
size_t base64_decode(char **buf, const unsigned char *msg, size_t len);
size_t base64_fold(FILE *out, char *msg, size_t len, size_t fold);