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
74bc68ac
Commit
74bc68ac
authored
Apr 02, 2014
by
Manuel Pégourié-Gonnard
Browse files
Fix default #define for malloc/free
parent
75a2860f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ChangeLog
ChangeLog
+1
-0
library/platform.c
library/platform.c
+2
-2
No files found.
ChangeLog
View file @
74bc68ac
...
...
@@ -11,6 +11,7 @@ Bugfix
* Some example server programs were not sending the close_notify alert.
* Potential memory leak in mpi_exp_mod() when error occurs during
calculation of RR.
* Fixed malloc/free default #define in platform.c (found by Gergely Budai).
= PolarSSL 1.3.5 released on 2014-03-26
Features
...
...
library/platform.c
View file @
74bc68ac
...
...
@@ -37,7 +37,7 @@ static void *platform_malloc_uninit( size_t len )
return
(
NULL
);
}
#define POLARSSL_PLATFORM_STD_MALLOC
mem
or
y
_malloc_uninit
#define POLARSSL_PLATFORM_STD_MALLOC
platf
or
m
_malloc_uninit
#endif
/* !POLARSSL_PLATFORM_STD_MALLOC */
#if !defined(POLARSSL_PLATFORM_STD_FREE)
...
...
@@ -46,7 +46,7 @@ static void platform_free_uninit( void *ptr )
((
void
)
ptr
);
}
#define POLARSSL_PLATFORM_STD_FREE
mem
or
y
_free_uninit
#define POLARSSL_PLATFORM_STD_FREE
platf
or
m
_free_uninit
#endif
/* !POLARSSL_PLATFORM_STD_FREE */
void
*
(
*
polarssl_malloc
)(
size_t
)
=
POLARSSL_PLATFORM_STD_MALLOC
;
...
...
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