diff options
author | gogowitczak <gogowitczak@gmail.com> | 2014-03-13 15:53:43 +0100 |
---|---|---|
committer | gogowitczak <gogowitczak@gmail.com> | 2014-03-13 15:53:43 +0100 |
commit | ccde4212e013ea5955cea26265423c84f4c74faf (patch) | |
tree | a774a44df5bde7334d7d33300cc39a4982595e9b /OpenPGP-Keychain/src/main/java | |
parent | f4370b3ac8378a92192d8d84496aa6ea1fb27b0c (diff) | |
download | open-keychain-ccde4212e013ea5955cea26265423c84f4c74faf.tar.gz open-keychain-ccde4212e013ea5955cea26265423c84f4c74faf.tar.bz2 open-keychain-ccde4212e013ea5955cea26265423c84f4c74faf.zip |
Added possibility to specify port for KeyServer.
Diffstat (limited to 'OpenPGP-Keychain/src/main/java')
-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 b6ffa0ef0..99cac1152 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 @@ -232,7 +232,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) { |