mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 05:35:39 +03:00
Remove "." suffix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
9c5d39f301
commit
14d3257036
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ public final class EncryptionUtils {
|
|||
}
|
||||
|
||||
public static EncryptedFile encryptFile(Context context, File file, Cipher cipher) throws InvalidParameterSpecException, IOException {
|
||||
File tempEncryptedFile = File.createTempFile(file.getName(), ".", context.getCacheDir());
|
||||
File tempEncryptedFile = File.createTempFile(file.getName(), null, context.getCacheDir());
|
||||
encryptFileWithGivenCipher(file, tempEncryptedFile, cipher);
|
||||
String authenticationTagString = getAuthenticationTag(cipher);
|
||||
return new EncryptedFile(tempEncryptedFile, authenticationTagString);
|
||||
|
|
Loading…
Reference in a new issue