mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 18:59:39 +02:00
Fix tests
This commit is contained in:
parent
801766ce04
commit
289cf6ddee
3 changed files with 9 additions and 8 deletions
|
@ -152,7 +152,8 @@ class EncryptImpl(private val api: PGPainless) : Encrypt {
|
|||
}
|
||||
|
||||
override fun withPassword(password: String): Encrypt = apply {
|
||||
encryptionOptions.addMessagePassphrase(Passphrase.fromPassword(password).withTrimmedWhitespace())
|
||||
encryptionOptions.addMessagePassphrase(
|
||||
Passphrase.fromPassword(password).withTrimmedWhitespace())
|
||||
}
|
||||
|
||||
private fun modeToStreamEncoding(mode: EncryptAs): StreamEncoding {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue