Fix something

pull/1176/head
andrew 3 years ago
parent 9e6d1e27fc
commit 6a5d97a0f0

@ -279,7 +279,7 @@ object FullBackupExporter {
return false return false
} }
private class BackupFrameOutputStream : Closeable, Flushable { private class BackupFrameOutputStream(outputStream: OutputStream, passphrase: String) : Closeable, Flushable {
private val outputStream: OutputStream private val outputStream: OutputStream
private var cipher: Cipher private var cipher: Cipher
@ -290,7 +290,7 @@ object FullBackupExporter {
private var counter: Int = 0 private var counter: Int = 0
private constructor(outputStream: OutputStream, passphrase: String) : super() { init {
try { try {
val salt = Util.getSecretBytes(32) val salt = Util.getSecretBytes(32)
val key = BackupUtil.computeBackupKey(passphrase, salt) val key = BackupUtil.computeBackupKey(passphrase, salt)

Loading…
Cancel
Save