mbed TLS upgraded to 2.6.0
Fork of mbedtls by
scripts/find-mem-leak.cocci@2:bbdeda018a3c, 2017-09-29 (annotated)
- Committer:
- Jasper Wallace
- Date:
- Fri Sep 29 19:50:30 2017 +0100
- Revision:
- 2:bbdeda018a3c
- Parent:
- 1:9ebc941037d5
Update to mbedtls 2.6.0, many changes.
Changes to mbedtls sources made:
in include/mbedtls/config.h comment out:
#define MBEDTLS_FS_IO
#define MBEDTLS_NET_C
#define MBEDTLS_TIMING_C
uncomment:
#define MBEDTLS_NO_PLATFORM_ENTROPY
remove the following directorys:
programs
yotta
visualc
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jasper Wallace |
1:9ebc941037d5 | 1 | @@ |
Jasper Wallace |
1:9ebc941037d5 | 2 | expression x, y; |
Jasper Wallace |
1:9ebc941037d5 | 3 | statement S; |
Jasper Wallace |
1:9ebc941037d5 | 4 | @@ |
Jasper Wallace |
1:9ebc941037d5 | 5 | x = mbedtls_malloc(...); |
Jasper Wallace |
1:9ebc941037d5 | 6 | y = mbedtls_malloc(...); |
Jasper Wallace |
1:9ebc941037d5 | 7 | ... |
Jasper Wallace |
1:9ebc941037d5 | 8 | * if (x == NULL || y == NULL) |
Jasper Wallace |
1:9ebc941037d5 | 9 | S |
Jasper Wallace |
1:9ebc941037d5 | 10 | |
Jasper Wallace |
1:9ebc941037d5 | 11 | @@ |
Jasper Wallace |
1:9ebc941037d5 | 12 | expression x, y; |
Jasper Wallace |
1:9ebc941037d5 | 13 | statement S; |
Jasper Wallace |
1:9ebc941037d5 | 14 | @@ |
Jasper Wallace |
1:9ebc941037d5 | 15 | if ( |
Jasper Wallace |
1:9ebc941037d5 | 16 | * (x = mbedtls_malloc(...)) == NULL |
Jasper Wallace |
1:9ebc941037d5 | 17 | || |
Jasper Wallace |
1:9ebc941037d5 | 18 | * (y = mbedtls_malloc(...)) == NULL |
Jasper Wallace |
1:9ebc941037d5 | 19 | ) |
Jasper Wallace |
1:9ebc941037d5 | 20 | S |