summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-02 23:30:54 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-02 23:30:54 +0000
commite8345bfced697f96fbb885298e464760988d71e4 (patch)
tree4e09651306f7d2a007b3681b92e0c340eebe4d8b /src/common/crypto.h
parent25a9bc594f22fc29604b17cb0f7eaab74401db29 (diff)
downloadtor-e8345bfced697f96fbb885298e464760988d71e4.tar.gz
tor-e8345bfced697f96fbb885298e464760988d71e4.zip
refactor; start adding debugging logs to midpoint rend stuff
svn:r1445
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 1ecd5a3ded..970be675ca 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -77,6 +77,7 @@ int crypto_pk_check_fingerprint_syntax(const char *s);
int base64_encode(char *dest, int destlen, const char *src, int srclen);
int base64_decode(char *dest, int destlen, const char *src, int srclen);
+#define BASE32_CHARS "abcdefghijklmnopqrstuvwxyz012345"
int base32_encode(char *dest, int destlen, const char *src, int srclen);
/* Key negotiation */