aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-04-29 02:11:56 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-06-23 01:11:32 +0200
commit70f7f0038592a28e846f02d084f0119fc34eb52f (patch)
tree7439cec074260c4eee55026c5a9ab37e0bcf6f58 /src/util.cpp
parente0be8da3924031ea115c93551dfa463f84d3a120 (diff)
Node support for Tor hidden services
This commit adds support for .onion addresses (mapped into the IPv6 by using OnionCat's range and encoding), and the ability to connect to them via a SOCKS5 proxy.
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 931d27ba00..5fff27160f 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -704,7 +704,7 @@ string DecodeBase64(const string& str)
string EncodeBase32(const unsigned char* pch, size_t len)
{
- static const char *pbase32 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
+ static const char *pbase32 = "abcdefghijklmnopqrstuvwxyz234567";
string strRet="";
strRet.reserve((len+4)/5*8);