Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
mbedtls
Commits
981732bb
Commit
981732bb
authored
Feb 17, 2015
by
Manuel Pégourié-Gonnard
Browse files
Fix missing/misplaced #include's
parent
c3e3395c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
1 deletion
+7
-1
library/dhm.c
library/dhm.c
+1
-0
library/ecp.c
library/ecp.c
+1
-0
library/x509_crl.c
library/x509_crl.c
+1
-0
library/x509_csr.c
library/x509_csr.c
+1
-0
tests/scripts/all.sh
tests/scripts/all.sh
+3
-1
No files found.
library/dhm.c
View file @
981732bb
...
...
@@ -49,6 +49,7 @@
#include "polarssl/platform.h"
#else
#include <stdlib.h>
#include <stdio.h>
#define polarssl_printf printf
#define polarssl_malloc malloc
#define polarssl_free free
...
...
library/ecp.c
View file @
981732bb
...
...
@@ -57,6 +57,7 @@
#include "polarssl/platform.h"
#else
#include <stdlib.h>
#include <stdio.h>
#define polarssl_printf printf
#define polarssl_malloc malloc
#define polarssl_free free
...
...
library/x509_crl.c
View file @
981732bb
...
...
@@ -51,6 +51,7 @@
#include "polarssl/platform.h"
#else
#include <stdlib.h>
#include <stdio.h>
#define polarssl_free free
#define polarssl_malloc malloc
#define polarssl_snprintf snprintf
...
...
library/x509_csr.c
View file @
981732bb
...
...
@@ -51,6 +51,7 @@
#include "polarssl/platform.h"
#else
#include <stdlib.h>
#include <stdio.h>
#define polarssl_free free
#define polarssl_malloc malloc
#define polarssl_snprintf snprintf
...
...
tests/scripts/all.sh
View file @
981732bb
...
...
@@ -134,7 +134,8 @@ cleanup
CC
=
gcc
CFLAGS
=
-Werror
make
# this is meant to cath missing #define polarssl_printf etc
msg
"build: full config except platform.c"
# ~ 30s
# disable fsio to catch some more missing #include <stdio.h>
msg
"build: full config except platform/fsio"
# ~ 30s
cleanup
cp
"
$CONFIG_H
"
"
$CONFIG_BAK
"
scripts/config.pl full
...
...
@@ -142,6 +143,7 @@ scripts/config.pl unset POLARSSL_PLATFORM_C
scripts/config.pl
unset
POLARSSL_PLATFORM_MEMORY
scripts/config.pl
unset
POLARSSL_MEMORY_C
scripts/config.pl
unset
POLARSSL_MEMORY_BUFFER_ALLOC_C
scripts/config.pl
unset
POLARSSL_FS_IO
CC
=
gcc
CFLAGS
=
-Werror
make
if
uname
-a
|
grep
-F
x86_64
>
/dev/null
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment