mbedtls/tests
Gilles Peskine e7a7013910 Remove initialization function for variable-length struct
Assigning the return value of a function that returns a struct with a
flexible array member does not fill the flexible array member, which leaves
a gap in the initialization that could be surprising to programmers. Also,
this is a borderline case in ABI design which could cause interoperability
problems. So remove this function.

This gets rid of an annoying note from GCC about ABI compatibility on
(at least) x86_64.
```
In file included from include/psa/crypto.h:4820,
                 from <stdin>:1:
include/psa/crypto_struct.h: In function ‘psa_key_generation_method_init’:
include/psa/crypto_struct.h:244:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4
  244 | {
      | ^
```

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-02-20 12:17:00 +01:00
..
.jenkins
configs Header updates 2023-11-03 12:21:36 +00:00
data_files Merge remote-tracking branch 'upstream/development' into pkcs5_aes_new 2024-02-08 14:26:29 +00:00
docker/bionic Header updates 2023-11-03 12:21:36 +00:00
git-scripts Header updates 2023-11-03 12:21:36 +00:00
include Merge pull request #8755 from ronald-cron-arm/tls13-client-early-data-status 2024-02-13 20:36:42 +00:00
opt-testcases Merge pull request #8717 from valeriosetti/issue8030 2024-02-07 10:06:03 +00:00
scripts Only test custom-e RSA key generation when built in 2024-02-15 12:02:04 +01:00
src Merge pull request #8755 from ronald-cron-arm/tls13-client-early-data-status 2024-02-13 20:36:42 +00:00
suites Remove initialization function for variable-length struct 2024-02-20 12:17:00 +01:00
.gitignore Revert "Auto-generated files for v3.5.0" 2023-10-05 00:17:21 +01:00
CMakeLists.txt Refactor common PThreads CMake code 2024-01-24 18:05:53 +00:00
compat-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
compat.sh Merge pull request #8462 from daverodgman/license-change 2023-11-04 15:47:07 +01:00
context-info.sh Header updates 2023-11-03 12:21:36 +00:00
Descriptions.txt
make-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
Makefile Unify MBEDTLS_TEST_OBJS 2024-01-02 23:11:24 +01:00
ssl-opt-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
ssl-opt.sh ssl-opt: add DH groups requirements in test cases using FFDH 2024-01-18 09:47:00 +01:00