commit | d82f60da364149a067e29b1d50339ef94fd226a9 | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Fri Aug 23 15:23:46 2019 +0100 |
committer | Hanno Becker <hanno.becker@arm.com> | Wed Sep 04 16:19:49 2019 +0100 |
tree | 5f53048b3c5d24359b42f1e7fdc6b8eb056b68dc | |
parent | e8c52ff191893ab8fd37c87cc9e03b166c6fa30e [diff] |
Directly include stdint.h from asn1.h asn1.h uses uint8_t which is defined in stdint.h. This wasn't caught earlier by the luck that whenever asn1.h was included, another header was included earlier that did in turn include stdint.h.
diff --git a/include/mbedtls/asn1.h b/include/mbedtls/asn1.h index 94990fe..7c97d79 100644 --- a/include/mbedtls/asn1.h +++ b/include/mbedtls/asn1.h
@@ -31,6 +31,7 @@ #endif #include <stddef.h> +#include <stdint.h> #if defined(MBEDTLS_BIGNUM_C) #include "bignum.h"