mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-26 22:01:59 +00:00
Fix dependencies and includes without FS_IO and PLATFORM_C
This commit is contained in:
@@ -340,6 +340,7 @@ int ccm_auth_decrypt( ccm_context *ctx, size_t length,
|
||||
#if defined(POLARSSL_PLATFORM_C)
|
||||
#include "polarssl/platform.h"
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#define polarssl_printf printf
|
||||
#endif
|
||||
|
||||
|
||||
@@ -385,6 +385,7 @@ int entropy_update_seed_file( entropy_context *ctx, const char *path )
|
||||
#if defined(POLARSSL_PLATFORM_C)
|
||||
#include "polarssl/platform.h"
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#define polarssl_printf printf
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user