1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-10-20 04:35:10 +08:00

Update CMake linkage tests to new call signature

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
Bence Szépkúti
2025-08-18 14:31:34 +02:00
parent b2ba9fa68b
commit 783d8adb15
3 changed files with 3 additions and 12 deletions

View File

@@ -18,10 +18,7 @@
* linkage works, but that is all. */
int main()
{
/* This version string is 18 bytes long, as advised by version.h. */
char version[18];
mbedtls_version_get_string_full(version);
const char *version = mbedtls_version_get_string_full();
mbedtls_printf("Built against %s\n", version);

View File

@@ -19,10 +19,7 @@
* linkage works, but that is all. */
int main()
{
/* This version string is 18 bytes long, as advised by version.h. */
char version[18];
mbedtls_version_get_string_full(version);
const char *version = mbedtls_version_get_string_full();
mbedtls_printf("Built against %s\n", version);

View File

@@ -19,10 +19,7 @@
* linkage works, but that is all. */
int main()
{
/* This version string is 18 bytes long, as advised by version.h. */
char version[18];
mbedtls_version_get_string_full(version);
const char *version = mbedtls_version_get_string_full();
mbedtls_printf("Built against %s\n", version);