mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 12:35:20 +00:00
Fix build error in cmake while printing digital build version
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
d976673dd6
commit
ff4181e246
@ -27,6 +27,7 @@
|
||||
|
||||
#if defined(MBEDTLS_VERSION_C)
|
||||
#include "mbedtls/build_info.h"
|
||||
#include "mbedtls/version.h"
|
||||
#endif /* MBEDTLS_VERSION_C */
|
||||
|
||||
#if defined(MBEDTLS_SSL_TEST_IMPOSSIBLE)
|
||||
@ -1004,7 +1005,7 @@ int main( int argc, char *argv[] )
|
||||
{
|
||||
mbedtls_printf( "build version: %s (build %u)\n",
|
||||
MBEDTLS_VERSION_STRING,
|
||||
MBEDTLS_VERSION_NUMBER );
|
||||
mbedtls_version_get_number() );
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
@ -2481,7 +2482,7 @@ int main( int argc, char *argv[] )
|
||||
|
||||
#if defined(MBEDTLS_VERSION_C)
|
||||
mbedtls_printf( "build version: %s (build %u)\n",
|
||||
MBEDTLS_VERSION_STRING, MBEDTLS_VERSION_NUMBER );
|
||||
MBEDTLS_VERSION_STRING, mbedtls_version_get_number() );
|
||||
#endif /* MBEDTLS_VERSION_C */
|
||||
|
||||
#if defined(MBEDTLS_X509_CRT_PARSE_C)
|
||||
|
Loading…
x
Reference in New Issue
Block a user