From c83e67354a0ce7a82ab5cfdba92ef6b1146c55cf Mon Sep 17 00:00:00 2001 From: Maxim Logaev Date: Mon, 22 Apr 2024 15:28:47 +0300 Subject: [PATCH] Added array_length=false attribute for subkeys and uids Signed-off-by: Maxim Logaev --- plugins/openpgp/vapi/gpgme.vapi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/openpgp/vapi/gpgme.vapi b/plugins/openpgp/vapi/gpgme.vapi index 4f09b705..90bce991 100644 --- a/plugins/openpgp/vapi/gpgme.vapi +++ b/plugins/openpgp/vapi/gpgme.vapi @@ -55,9 +55,9 @@ namespace GPG { public string issuer_name; public string chain_id; public Validity owner_trust; - [CCode(array_null_terminated = true)] + [CCode(array_length = false, array_null_terminated = true)] public SubKey[] subkeys; - [CCode(array_null_terminated = true)] + [CCode(array_length = false, array_null_terminated = true)] public UserID[] uids; public KeylistMode keylist_mode; public string fpr { get { return subkeys[0].fpr; } }