diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-05-17 00:59:50 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2015-05-17 00:59:50 +0200 |
commit | 7e5e0df0bc4ca971cfeac243be0e22d9cea271e8 (patch) | |
tree | c2cefc43e8c2781ac001cb9c210415a3ab02518a /OpenKeychain/src | |
parent | 48f6e20f6ce59ff2581b26e6e11c8e6cda9ecfec (diff) | |
download | open-keychain-7e5e0df0bc4ca971cfeac243be0e22d9cea271e8.tar.gz open-keychain-7e5e0df0bc4ca971cfeac243be0e22d9cea271e8.tar.bz2 open-keychain-7e5e0df0bc4ca971cfeac243be0e22d9cea271e8.zip |
fingerprints are 20 bytes, not 40. duh.
Diffstat (limited to 'OpenKeychain/src')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyYubiKeyFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyYubiKeyFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyYubiKeyFragment.java index ecd351965..78a6ac55a 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyYubiKeyFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyYubiKeyFragment.java @@ -83,7 +83,7 @@ public class ViewKeyYubiKeyFragment extends Fragment Bundle args = getArguments(); ByteBuffer buf = ByteBuffer.wrap(args.getByteArray(ARG_FINGERPRINT)); - mFingerprints = new byte[buf.remaining()/40][]; + mFingerprints = new byte[buf.remaining()/20][]; for (int i = 0; i < mFingerprints.length; i++) { mFingerprints[i] = new byte[20]; buf.get(mFingerprints[i]); |