aboutsummaryrefslogtreecommitdiff
path: root/plugins/crypto-vala/src/cipher.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2019-09-17 00:34:39 +0200
committerMarvin W <git@larma.de>2019-09-17 00:36:25 +0200
commitf746ce74ce6e905483d86b603df01b81acbca7b4 (patch)
treed7a1ab5b15e6118e113d1981b332477e011348ca /plugins/crypto-vala/src/cipher.vala
parent9daf18f031058ae4c1f13edbf62624bc0345c96f (diff)
downloaddino-f746ce74ce6e905483d86b603df01b81acbca7b4.tar.gz
dino-f746ce74ce6e905483d86b603df01b81acbca7b4.zip
Fix compilation with older gcrypt
Diffstat (limited to 'plugins/crypto-vala/src/cipher.vala')
-rw-r--r--plugins/crypto-vala/src/cipher.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/crypto-vala/src/cipher.vala b/plugins/crypto-vala/src/cipher.vala
index 75e5d26e..4a97ec25 100644
--- a/plugins/crypto-vala/src/cipher.vala
+++ b/plugins/crypto-vala/src/cipher.vala
@@ -22,7 +22,7 @@ public class SymmetricCipher {
case GCrypt.Cipher.Mode.POLY1305: return "POLY1305";
case GCrypt.Cipher.Mode.OCB: return "OCB";
case GCrypt.Cipher.Mode.CFB8: return "CFB8";
- case GCrypt.Cipher.Mode.XTS: return "XTS";
+ // case GCrypt.Cipher.Mode.XTS: return "XTS"; // Not supported in gcrypt < 1.8
}
return "NONE";
}