diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-08-05 22:38:36 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-08-05 22:38:36 +0200 |
commit | 6354b2dcf9d73f4931dcbc8c5ab3e89693b65ac3 (patch) | |
tree | e24a2e9971d76516a243a240ca25d5998b8ae3f7 /OpenKeychain/src/main/java | |
parent | 1455af2eed0f5efa2bc3b3317334796516670970 (diff) | |
download | open-keychain-6354b2dcf9d73f4931dcbc8c5ab3e89693b65ac3.tar.gz open-keychain-6354b2dcf9d73f4931dcbc8c5ab3e89693b65ac3.tar.bz2 open-keychain-6354b2dcf9d73f4931dcbc8c5ab3e89693b65ac3.zip |
Increase maximum custom RSA size
Diffstat (limited to 'OpenKeychain/src/main/java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/AddSubkeyDialogFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/AddSubkeyDialogFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/AddSubkeyDialogFragment.java index 27c797a7d..9841deeab 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/AddSubkeyDialogFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/AddSubkeyDialogFragment.java @@ -297,7 +297,7 @@ public class AddSubkeyDialogFragment extends DialogFragment { int properKeyLength = -1; switch (algorithmId) { case PublicKeyAlgorithmTags.RSA_GENERAL: - if (currentKeyLength > 1024 && currentKeyLength <= 8192) { + if (currentKeyLength > 1024 && currentKeyLength <= 16384) { properKeyLength = currentKeyLength + ((8 - (currentKeyLength % 8)) % 8); } break; |