fixed typo

This commit is contained in:
Daniel Gultsch 2020-03-09 15:06:21 +01:00
parent 7851174b77
commit 257de4b51e
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ public class HttpUploadConnection implements Transferable {
//will still 'fallback' to bounce castle even on Android 9+ because conscrypt doesnt
//have support for anything but 12.
//For large files conscrypt has extremely bad performance; so why not always use 16 you ask?
//well the ecosystem was moving and some clients like Monal *only* support 16
//well the ecosystem was moving and some clients like Monal *only* support 12
//so the result of this code is that we can only send 'small' files to Monal.
//'small' was relatively arbitrarily choose and correlates to roughly 'small' compressed images
this.key = new byte[originalFileSize <= 786432 ? 44 : 48];