mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 02:37:46 +00:00
Fix something
This commit is contained in:
parent
9e6d1e27fc
commit
6a5d97a0f0
@ -279,7 +279,7 @@ object FullBackupExporter {
|
||||
return false
|
||||
}
|
||||
|
||||
private class BackupFrameOutputStream : Closeable, Flushable {
|
||||
private class BackupFrameOutputStream(outputStream: OutputStream, passphrase: String) : Closeable, Flushable {
|
||||
|
||||
private val outputStream: OutputStream
|
||||
private var cipher: Cipher
|
||||
@ -290,7 +290,7 @@ object FullBackupExporter {
|
||||
|
||||
private var counter: Int = 0
|
||||
|
||||
private constructor(outputStream: OutputStream, passphrase: String) : super() {
|
||||
init {
|
||||
try {
|
||||
val salt = Util.getSecretBytes(32)
|
||||
val key = BackupUtil.computeBackupKey(passphrase, salt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user