1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

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

@ -43,9 +43,12 @@
#include "polarssl/cipher.h"
#include "polarssl/oid.h"
#include <string.h>
#if defined(POLARSSL_PLATFORM_C)
#include "polarssl/platform.h"
#else
#include <stdio.h>
#define polarssl_printf printf
#endif
@ -295,8 +298,6 @@ int pkcs5_self_test( int verbose )
}
#else
#include <stdio.h>
#define MAX_TESTS 6
size_t plen[MAX_TESTS] =