cleanup library and some basic tests. Includes, add guards to includes

This commit is contained in:
Rich Evans 2015-02-06 13:43:58 +00:00
parent e83ac1d7d1
commit 00ab47026b
100 changed files with 284 additions and 192 deletions

View file

@ -34,15 +34,16 @@
#include "polarssl/ssl_cache.h"
#include <string.h>
#if defined(POLARSSL_PLATFORM_C)
#include "polarssl/platform.h"
#else
#include <stdlib.h>
#define polarssl_malloc malloc
#define polarssl_free free
#endif
#include <stdlib.h>
void ssl_cache_init( ssl_cache_context *cache )
{
memset( cache, 0, sizeof( ssl_cache_context ) );