aboutsummaryrefslogtreecommitdiff
path: root/plugins/crypto-vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-10-09 23:32:03 +0200
committerfiaxh <git@lightrise.org>2019-10-10 00:21:45 +0200
commit8e6db8859c756ef2445e1f5277103d83c735c726 (patch)
tree7ac396525e13da4ee37d7983039cafc00307586b /plugins/crypto-vala
parent7adb0e82fba1afc62689797be6c9491ad15d03bf (diff)
downloaddino-8e6db8859c756ef2445e1f5277103d83c735c726.tar.gz
dino-8e6db8859c756ef2445e1f5277103d83c735c726.zip
Plugins: Set UI texts in code instead of .ui files to fix translations
Co-authored-by: srgcdev <srg.dev@posteo.net>
Diffstat (limited to 'plugins/crypto-vala')
-rw-r--r--plugins/crypto-vala/src/cipher.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/crypto-vala/src/cipher.vala b/plugins/crypto-vala/src/cipher.vala
index 4a97ec25..306dafa8 100644
--- a/plugins/crypto-vala/src/cipher.vala
+++ b/plugins/crypto-vala/src/cipher.vala
@@ -40,7 +40,7 @@ public class SymmetricCipher {
case "POLY1305": return GCrypt.Cipher.Mode.POLY1305;
case "OCB": return GCrypt.Cipher.Mode.OCB;
case "CFB8": return GCrypt.Cipher.Mode.CFB8;
- case "XTS": return GCrypt.Cipher.Mode.XTS;
+ // case "XTS": return GCrypt.Cipher.Mode.XTS; // Not supported in gcrypt < 1.8
}
return GCrypt.Cipher.Mode.NONE;
}
@@ -149,4 +149,4 @@ public class SymmetricCipher {
may_throw_gcrypt_error(cipher.sync());
}
}
-} \ No newline at end of file
+}