mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 13:35:42 +01:00
Style corrections
This commit is contained in:
parent
2321945e44
commit
b3d3127d01
@ -29,7 +29,7 @@ int dummy_send( void *ctx, const unsigned char *buf, size_t len )
|
|||||||
if ( len > INT_MAX ) {
|
if ( len > INT_MAX ) {
|
||||||
return ( -1 );
|
return ( -1 );
|
||||||
}
|
}
|
||||||
return (int) ( len );
|
return ( (int) len );
|
||||||
}
|
}
|
||||||
|
|
||||||
int fuzz_recv( void *ctx, unsigned char *buf, size_t len )
|
int fuzz_recv( void *ctx, unsigned char *buf, size_t len )
|
||||||
@ -50,7 +50,7 @@ int fuzz_recv( void *ctx, unsigned char *buf, size_t len )
|
|||||||
}
|
}
|
||||||
memcpy(buf, biomemfuzz->Data + biomemfuzz->Offset, len);
|
memcpy(buf, biomemfuzz->Data + biomemfuzz->Offset, len);
|
||||||
biomemfuzz->Offset += len;
|
biomemfuzz->Offset += len;
|
||||||
return (int) ( len );
|
return ( (int) len );
|
||||||
}
|
}
|
||||||
|
|
||||||
int dummy_random( void *p_rng, unsigned char *output, size_t output_len )
|
int dummy_random( void *p_rng, unsigned char *output, size_t output_len )
|
||||||
|
Loading…
Reference in New Issue
Block a user