Fix dependencies and includes without FS_IO and PLATFORM_C
This commit is contained in:
parent
3966d71fa8
commit
5b11d026cd
@ -340,6 +340,7 @@ int ccm_auth_decrypt( ccm_context *ctx, size_t length,
|
|||||||
#if defined(POLARSSL_PLATFORM_C)
|
#if defined(POLARSSL_PLATFORM_C)
|
||||||
#include "polarssl/platform.h"
|
#include "polarssl/platform.h"
|
||||||
#else
|
#else
|
||||||
|
#include <stdio.h>
|
||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -385,6 +385,7 @@ int entropy_update_seed_file( entropy_context *ctx, const char *path )
|
|||||||
#if defined(POLARSSL_PLATFORM_C)
|
#if defined(POLARSSL_PLATFORM_C)
|
||||||
#include "polarssl/platform.h"
|
#include "polarssl/platform.h"
|
||||||
#else
|
#else
|
||||||
|
#include <stdio.h>
|
||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -367,7 +367,7 @@ void x509_oid_numstr( char *oid_str, char *numstr, int blen, int ret )
|
|||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:POLARSSL_X509_CRT_PARSE_C:POLARSSL_X509_CHECK_KEY_USAGE */
|
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_CRT_PARSE_C:POLARSSL_X509_CHECK_KEY_USAGE */
|
||||||
void x509_check_key_usage( char *crt_file, int usage, int ret )
|
void x509_check_key_usage( char *crt_file, int usage, int ret )
|
||||||
{
|
{
|
||||||
x509_crt crt;
|
x509_crt crt;
|
||||||
@ -382,7 +382,7 @@ void x509_check_key_usage( char *crt_file, int usage, int ret )
|
|||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:POLARSSL_X509_CRT_PARSE_C:POLARSSL_X509_CHECK_EXTENDED_KEY_USAGE */
|
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_CRT_PARSE_C:POLARSSL_X509_CHECK_EXTENDED_KEY_USAGE */
|
||||||
void x509_check_extended_key_usage( char *crt_file, char *usage_hex, int ret )
|
void x509_check_extended_key_usage( char *crt_file, char *usage_hex, int ret )
|
||||||
{
|
{
|
||||||
x509_crt crt;
|
x509_crt crt;
|
||||||
|
Loading…
Reference in New Issue
Block a user