aboutsummaryrefslogtreecommitdiff
path: root/plugins/crypto-vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-01-21 21:53:43 +0100
committerMarvin W <git@larma.de>2020-01-21 21:55:08 +0100
commit4a9c05ea372e8f1279644ad6dc519ca407aec88a (patch)
treee76c9dfa5a716831a9f3496353d304c15fce84a0 /plugins/crypto-vala
parent55b148a0f78c1abef57c21b2a84d97cad32b2290 (diff)
downloaddino-4a9c05ea372e8f1279644ad6dc519ca407aec88a.tar.gz
dino-4a9c05ea372e8f1279644ad6dc519ca407aec88a.zip
Enabling display of more compiler warnings and fix some of them
Most of these are caused by various issues is the Vala compiler, but it doesn't hurt to display them and report them upstream.
Diffstat (limited to 'plugins/crypto-vala')
-rw-r--r--plugins/crypto-vala/vapi/gcrypt.vapi4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/crypto-vala/vapi/gcrypt.vapi b/plugins/crypto-vala/vapi/gcrypt.vapi
index ca620e0f..0fa69a02 100644
--- a/plugins/crypto-vala/vapi/gcrypt.vapi
+++ b/plugins/crypto-vala/vapi/gcrypt.vapi
@@ -608,9 +608,9 @@ namespace GCrypt {
CBC_CTS, /* Enable CBC cipher text stealing (CTS). */
CBC_MAC /* Enable CBC message auth. code (MAC). */
}
- [Compact]
[CCode (cname = "gcry_cipher_hd_t", lower_case_cprefix = "gcry_cipher_", free_function = "gcry_cipher_close")]
- public class Cipher {
+ [SimpleType]
+ public struct Cipher {
public static Error open (out Cipher cipher, Algorithm algo, Mode mode, Flag flags);
public void close ();
[CCode (cname = "gcry_cipher_ctl")]