aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/network
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2012-02-29 20:57:11 +0100
committerblafoo <github@blafoo.de>2012-02-29 20:57:11 +0100
commited20ccd76e27b48348f59f1d4650a5e8c65f49af (patch)
treec705c5c3ed59aa4d806c9c42c523dff4c2a2cd39 /main/src/cgeo/geocaching/network
parentdaee2e9a847071d1080e42435a41ed3da57c0d29 (diff)
downloadcgeo-ed20ccd76e27b48348f59f1d4650a5e8c65f49af.zip
cgeo-ed20ccd76e27b48348f59f1d4650a5e8c65f49af.tar.gz
cgeo-ed20ccd76e27b48348f59f1d4650a5e8c65f49af.tar.bz2
Moved methods to better fitting classes
Diffstat (limited to 'main/src/cgeo/geocaching/network')
-rw-r--r--main/src/cgeo/geocaching/network/OAuth.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/network/OAuth.java b/main/src/cgeo/geocaching/network/OAuth.java
index 6d82bf7..a5393f6 100644
--- a/main/src/cgeo/geocaching/network/OAuth.java
+++ b/main/src/cgeo/geocaching/network/OAuth.java
@@ -29,6 +29,6 @@ public class OAuth {
final String keysPacked = Settings.getKeyConsumerSecret() + "&" + StringUtils.defaultString(tokenSecret); // both even if empty some of them!
final String requestPacked = method + "&" + cgBase.urlencode_rfc3986((https ? "https" : "http") + "://" + host + path) + "&" + cgBase.urlencode_rfc3986(StringUtils.join(paramsEncoded.toArray(), '&'));
- params.put("oauth_signature", cgBase.base64Encode(CryptUtils.hashHmac(requestPacked, keysPacked)));
+ params.put("oauth_signature", CryptUtils.base64Encode(CryptUtils.hashHmac(requestPacked, keysPacked)));
}
}