-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mbedtls: fix compilation error for host-generic builds
JIRA: NIL-471
- Loading branch information
1 parent
46f7c3d
commit e4006da
Showing
2 changed files
with
30 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
diff -ur '--exclude=*.git' mbedtls-2.28.0/programs/ssl/ssl_context_info.c mbedtls-2.28.0-phoenix/programs/ssl/ssl_context_info.c | ||
--- mbedtls-2.28.0/programs/ssl/ssl_context_info.c 2022-05-12 15:49:04.327065471 +0200 | ||
+++ mbedtls-2.28.0-phoenix/programs/ssl/ssl_context_info.c 2022-05-12 15:44:21.216459932 +0200 | ||
diff -ur '--exclude=*.git' mbedtls-2.28.0/programs/ssl/ssl_context_info.c mbedtls-2.28.0-phx/programs/ssl/ssl_context_info.c | ||
--- mbedtls-2.28.0/programs/ssl/ssl_context_info.c 2021-12-15 14:47:54.000000000 +0100 | ||
+++ mbedtls-2.28.0-phx/programs/ssl/ssl_context_info.c 2024-03-22 13:15:45.658210852 +0100 | ||
@@ -118,7 +118,8 @@ | ||
FILE *b64_file = NULL; /* file with base64 codes to deserialize */ | ||
char conf_keep_peer_certificate = 1; /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE from mbedTLS configuration */ | ||
char conf_dtls_proto = 1; /* MBEDTLS_SSL_PROTO_DTLS from mbedTLS configuration */ | ||
-char debug = 0; /* flag for debug messages */ | ||
+/* 'debug' has been already defined as syscall in Phoenix-RTOS */ | ||
+static char debug = 0; /* flag for debug messages */ | ||
+static char debug = 0; /* flag for debug messages */ | ||
const char alloc_err[] = "Cannot allocate memory\n"; | ||
const char buf_ln_err[] = "Buffer does not have enough data to complete the parsing\n"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters