mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 13:56:42 +01:00
- Fixed include location of endian.h on FreeBSD (found by Gabriel)
This commit is contained in:
parent
38e2b482ff
commit
854963cee3
2 changed files with 6 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ Changes
|
||||||
* Fixed typo in name of POLARSSL_ERR_RSA_OUTPUT_TOO_LARGE.
|
* Fixed typo in name of POLARSSL_ERR_RSA_OUTPUT_TOO_LARGE.
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
|
* Fixed include location of endian.h on FreeBSD (found by
|
||||||
|
Gabriel)
|
||||||
* Fixed HMAC-MD2 by modifying md2_starts(), so that the
|
* Fixed HMAC-MD2 by modifying md2_starts(), so that the
|
||||||
required HMAC ipad and opad variables are not cleared.
|
required HMAC ipad and opad variables are not cleared.
|
||||||
(found by code coverage tests)
|
(found by code coverage tests)
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,11 @@ static int wsa_init_done = 0;
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#if defined(__FreeBSD__)
|
||||||
|
#include <sys/endian.h>
|
||||||
|
#else
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue