Merge pull request #402 from mb-14/hkpget

Fix error in  importing/updating keys from keyserver by removing extra 0x
This commit is contained in:
Dominik Schürmann 2014-03-12 15:59:47 +01:00
commit c7f4fc72d8

View File

@ -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) {