diff options
author | Miroojin Bakshi <gaglu231094@gmail.com> | 2014-03-12 20:14:56 +0530 |
---|---|---|
committer | Miroojin Bakshi <gaglu231094@gmail.com> | 2014-03-12 20:14:56 +0530 |
commit | 11b19f0fce6b398bb24f31f5b90a7bf293608372 (patch) | |
tree | e0f54c780a68428565a9f0f707b16903c09bb289 /OpenPGP-Keychain/src/main/java/org/sufficientlysecure | |
parent | c9b117b7068d471c5ea74b4e21d44684a31e4df6 (diff) | |
download | open-keychain-11b19f0fce6b398bb24f31f5b90a7bf293608372.tar.gz open-keychain-11b19f0fce6b398bb24f31f5b90a7bf293608372.tar.bz2 open-keychain-11b19f0fce6b398bb24f31f5b90a7bf293608372.zip |
Fix error in importing/updating keys from keyserver by removing extra 0x
Diffstat (limited to 'OpenPGP-Keychain/src/main/java/org/sufficientlysecure')
-rw-r--r-- | OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/util/HkpKeyServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/util/HkpKeyServer.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/util/HkpKeyServer.java index 0681847f4..32266839c 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/util/HkpKeyServer.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/util/HkpKeyServer.java @@ -226,7 +226,7 @@ public class HkpKeyServer extends KeyServer { HttpClient client = new DefaultHttpClient(); try { HttpGet get = new HttpGet("http://" + mHost + ":" + mPort - + "/pks/lookup?op=get&search=0x" + PgpKeyHelper.convertKeyIdToHex(keyId)); + + "/pks/lookup?op=get&search=" + PgpKeyHelper.convertKeyIdToHex(keyId)); HttpResponse response = client.execute(get); if (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) { |