Guus Sliepen
75e5b2e906
Use void pointers to opaque buffers.
2014-05-12 14:35:12 +02:00
Guus Sliepen
d6734a2da4
Fix return value of b64encode().
2014-04-06 22:46:06 +02:00
Guus Sliepen
5e00a24e1f
Update copyright notices.
2013-08-13 20:38:57 +02:00
Guus Sliepen
c3d357af6c
Improve base64 encoding/decoding, add URL-safe variant.
...
b64decode() now returns length 0 when an invalid character was encountered.
2013-05-28 13:39:15 +02:00
Guus Sliepen
70a1a5594a
Update copyright notices.
2012-10-14 17:42:49 +02:00
Guus Sliepen
d917c8cb6b
Fix whitespace.
2012-10-10 17:17:49 +02:00
Guus Sliepen
0b8b23e0dd
C99 extravaganza.
2012-10-08 00:35:38 +02:00
Guus Sliepen
6dfdb32361
Merge branch 'master' into 1.1
...
Conflicts:
lib/utils.c
src/net_setup.c
src/process.c
src/protocol_auth.c
src/protocol_key.c
src/utils.h
2012-09-30 15:00:47 +02:00
Guus Sliepen
19be9cf715
Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1
...
Conflicts:
NEWS
README
configure.in
lib/utils.c
src/linux/device.c
src/meta.c
src/net.h
src/net_setup.c
src/net_socket.c
src/protocol.c
src/protocol_auth.c
src/tincd.c
2012-06-26 13:24:20 +02:00
Guus Sliepen
810847248a
Fix compiler warning.
2011-10-05 21:59:33 +02:00
Guus Sliepen
fa4a01e4a2
Use const pointer to source in base64 and hex routines.
2011-07-16 22:38:50 +02:00
Guus Sliepen
06b8271ed5
Make hexadecimal and base64 routines behave the same.
...
The length parameter for the encoding functions is the length of the
binary input, and for the decoding functions it is the maximum size of
the binary output.
The return value is always the length of the resulting output, excluding
the terminating NULL character for the encoding routines.
All functions can encode and decode in-place. The encoding functions
will always write a terminating NULL character, and the decoding
functions will stop at a NULL character.
2011-07-12 23:23:26 +02:00
Guus Sliepen
1e2d9b0899
Finish base64 decoding routine.
2011-07-03 23:33:56 +02:00
Guus Sliepen
1d92dd62a7
Base64 encoding and decoding functions.
2011-07-03 22:13:58 +02:00
Guus Sliepen
33f241d978
Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1
...
Conflicts:
NEWS
configure.in
doc/tincd.8.in
lib/pidfile.c
lib/pidfile.h
lib/xalloc.h
lib/xmalloc.c
src/conf.c
src/conf.h
src/connection.c
src/connection.h
src/event.c
src/graph.c
src/graph.h
src/net.c
src/net.h
src/node.h
src/openssl/crypto.c
src/process.c
src/protocol.c
src/protocol_key.c
src/route.c
2011-06-06 20:42:15 +02:00
Sven-Haegar Koch
d772289f6d
sparse fixup: warning: symbol '...' was not declared. Should it be static?
2011-05-28 15:24:39 +02:00
Guus Sliepen
35b1c25093
Move source from lib/ to src/.
...
The utility functions in the lib/ directory do not really form a library.
Also, now that we build two binaries, tincctl does not need everything that was
in libvpn.a, so it is wasteful to link to it.
2009-12-31 13:19:13 +01:00