[vala-extra-vapis] libgsasl: Fix signature for hmac_sha1() and sha1()



commit 5a456afb4bfe8eac0cde59f536403318b132b1f5
Author: Jelmer Vernooij <jelmer google com>
Date:   Wed Jan 23 20:59:29 2019 +0000

    libgsasl: Fix signature for hmac_sha1() and sha1()

 libgsasl.vapi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgsasl.vapi b/libgsasl.vapi
index bb9e6ae..73005e2 100644
--- a/libgsasl.vapi
+++ b/libgsasl.vapi
@@ -229,6 +229,6 @@ namespace Gsasl {
        public static Gsasl.Result nonce ([CCode (array_length_type = "size_t")] uint8[] data);
        public static Gsasl.Result md5 ([CCode (array_length_type = "size_t")] uint8[] in, out uint8 
@out[16]);
        public static Gsasl.Result hmac_md5 ([CCode (array_length_type = "size_t")] uint8[] key, [CCode 
(array_length_type = "size_t")] uint8[] in, uint8 outhash[16]);
-       public static Gsasl.Result sha1 ([CCode (array_length_type = "size_t")] uint8[] in, out uint8 
@out[20]);
-       public static Gsasl.Result hmac_sha1 ([CCode (array_length_type = "size_t")] uint8[] key, [CCode 
(array_length_type = "size_t")] uint8[] in, uint8 outhash[20]);
+       public static Gsasl.Result sha1 ([CCode (array_length_type = "size_t")] uint8[] in, [CCode 
(array_length = false)] out uint8 @out[20]);
+       public static Gsasl.Result hmac_sha1 ([CCode (array_length_type = "size_t")] uint8[] key, [CCode 
(array_length_type = "size_t")] uint8[] in, [CCode (array_length = false)] out uint8 outhash[20]);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]