diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-09-16 07:20:04 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-09-16 07:20:04 +0200 |
commit | 3defd194aaa79309c0a0921a63c5ab157081325c (patch) | |
tree | c7f94b8839f543edcd668febc8ab39f1dd3a1bae /OpenKeychain/src/main/java | |
parent | 9dc22ef510936adbcecfba2898a72cc8cffc3350 (diff) | |
parent | 018ca6abad3c0cca4d2116b99b3d204260b769e5 (diff) | |
download | open-keychain-3defd194aaa79309c0a0921a63c5ab157081325c.tar.gz open-keychain-3defd194aaa79309c0a0921a63c5ab157081325c.tar.bz2 open-keychain-3defd194aaa79309c0a0921a63c5ab157081325c.zip |
Merge pull request #859 from timbray/master
Fix construction of algorithmID in Keybase result lists
Diffstat (limited to 'OpenKeychain/src/main/java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/keyimport/KeybaseKeyserver.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/keyimport/KeybaseKeyserver.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/keyimport/KeybaseKeyserver.java index 0a55fccc8..a228c3041 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/keyimport/KeybaseKeyserver.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/keyimport/KeybaseKeyserver.java @@ -76,10 +76,10 @@ public class KeybaseKeyserver extends Keyserver { // store extra info, so we can query for the keybase id directly entry.setExtraData(username); - final int algorithmId = match.getAlgorithmId(); - entry.setAlgorithm(PgpKeyHelper.getAlgorithmInfo(algorithmId, null, null)); final int bitStrength = match.getBitStrength(); entry.setBitStrength(bitStrength); + final int algorithmId = match.getAlgorithmId(); + entry.setAlgorithm(PgpKeyHelper.getAlgorithmInfo(algorithmId, bitStrength, null)); ArrayList<String> userIds = new ArrayList<String>(); String name = fullName + " <keybase.io/" + username + ">"; |