diff options
author | Roger Dingledine <arma@torproject.org> | 2004-07-22 08:30:06 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-07-22 08:30:06 +0000 |
commit | 7459d067a5b158f39ac8ff9a90ce6059e91d4302 (patch) | |
tree | 74501e22937458399ab1d98939a2261d60a57e8d /src/common/crypto.h | |
parent | ea43172c11af49dcf770fdcbcf80fcbef3437c19 (diff) | |
download | tor-7459d067a5b158f39ac8ff9a90ce6059e91d4302.tar.gz tor-7459d067a5b158f39ac8ff9a90ce6059e91d4302.zip |
now base16_encode() and base32_encode() can't ever fail
svn:r2103
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index 09bb50f05a..70ad1bc37e 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -92,8 +92,8 @@ 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 "abcdefghijklmnopqrstuvwxyz234567" -int base32_encode(char *dest, int destlen, const char *src, int srclen); -int base16_encode(char *dest, int destlen, const char *src, int srclen); +void base32_encode(char *dest, int destlen, const char *src, int srclen); +void base16_encode(char *dest, int destlen, const char *src, int srclen); int base16_decode(char *dest, int destlen, const char *src, int srclen); /* Key negotiation */ |