chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test base64 and hex encoding.
[mLib]
/
base64.c
diff --git
a/base64.c
b/base64.c
index 2cefb41cdcce2fbc5629e44f71fe44f530183ffe..0af744c218634393c48710380ef28b98f23b5651 100644
(file)
--- a/
base64.c
+++ b/
base64.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: base64.c,v 1.
5 2002/01/13 13:26:16
mdw Exp $
+ * $Id: base64.c,v 1.
6 2003/05/16 00:22:58
mdw Exp $
*
* Base64 encoding and decoding.
*
*
* Base64 encoding and decoding.
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: base64.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: base64.c,v $
+ * Revision 1.6 2003/05/16 00:22:58 mdw
+ * Test base64 and hex encoding.
+ *
* Revision 1.5 2002/01/13 13:26:16 mdw
* Change names for internal tables.
*
* Revision 1.5 2002/01/13 13:26:16 mdw
* Change names for internal tables.
*
@@
-272,7
+275,7
@@
int main(int argc, char *argv[])
unsigned char buf[BUFSIZ];
dstr d = DSTR_INIT;
base64_ctx ctx;
unsigned char buf[BUFSIZ];
dstr d = DSTR_INIT;
base64_ctx ctx;
- void (*proc)(base64_ctx *, const
unsigned char
*, size_t, dstr *);
+ void (*proc)(base64_ctx *, const
void
*, size_t, dstr *);
size_t sz;
base64_init(&ctx);
size_t sz;
base64_init(&ctx);