]> git.ipfire.org Git - thirdparty/tor.git/commit
Move formatting functions around.
authorNick Mathewson <nickm@torproject.org>
Fri, 31 Jul 2015 15:21:34 +0000 (11:21 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 31 Jul 2015 15:21:34 +0000 (11:21 -0400)
commit347fe449fe818f97e0f3ba29dd0a08ff6d39081e
tree9397c155e38a7e7084b91c55f1c57f576aa42b25
parent8c83e8cec0e8d4c29577ae7c7b27637e5b91c99e
Move formatting functions around.

The base64 and base32 functions used to be in crypto.c;
crypto_format.h had no header; some general-purpose functions were in
crypto_curve25519.c.

This patch makes a {crypto,util}_format.[ch], and puts more functions
there.  Small modules are beautiful!
17 files changed:
src/common/address.c
src/common/crypto.c
src/common/crypto.h
src/common/crypto_curve25519.c
src/common/crypto_curve25519.h
src/common/crypto_ed25519.c
src/common/crypto_ed25519.h
src/common/crypto_format.c
src/common/crypto_format.h [new file with mode: 0644]
src/common/include.am
src/common/util.c
src/common/util.h
src/common/util_format.c [new file with mode: 0644]
src/common/util_format.h [new file with mode: 0644]
src/or/keypin.c
src/or/or.h
src/tools/tor-gencert.c