* updated tzdata (2024a -> 2024b)
[t2sde.git] / package / security / keyutils / hotfix-gcc4.patch.avr32
blob544c5826f4863b12f75676a8e303015051ccaca9
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/keyutils/hotfix-gcc4.patch.avr32
3 # Copyright (C) 2024 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- keyutils-1.6.3/keyutils.h.vanilla   2024-02-06 15:37:41.350515927 +0100
15 +++ keyutils-1.6.3/keyutils.h   2024-02-06 15:42:25.691538644 +0100
16 @@ -146,10 +146,10 @@
17  struct keyctl_pkey_params {
18         key_serial_t    key_id;         /* Serial no. of public key to use */
19         unsigned int    in_len;         /* Input data size */
20 -       union {
21 +       //union {
22                 unsigned int    out_len; /* Output buffer size (encrypt/decrypt/sign) */
23 -               unsigned int    in2_len; /* Second input data size (verify) */
24 -       };
25 +               //unsigned int  in2_len; /* Second input data size (verify) */
26 +       //};
27         unsigned int    __spare[7];
28  };
30 --- keyutils-1.6.3/keyutils.c.vanilla   2024-02-06 15:36:28.973510144 +0100
31 +++ keyutils-1.6.3/keyutils.c   2024-02-06 15:42:44.331540133 +0100
32 @@ -321,7 +321,7 @@
33         struct keyctl_pkey_params params = {
34                 .key_id         = key_id,
35                 .in_len         = data_len,
36 -               .in2_len        = sig_len,
37 +               .out_len        = sig_len,
38         };
40         return keyctl(KEYCTL_PKEY_VERIFY, &params, info, data, sig);