mirror of https://github.com/ARMmbed/mbed-os.git
parent
52f3738b82
commit
cbb678f25b
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coap-service",
|
"name": "coap-service",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "CoAP Service library",
|
"description": "CoAP Service library",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"coap",
|
"coap",
|
||||||
|
|
|
@ -395,7 +395,7 @@ int entropy_poll( void *ctx, unsigned char *output, size_t len,
|
||||||
}
|
}
|
||||||
memset(c, 0, len);
|
memset(c, 0, len);
|
||||||
for(uint16_t i=0; i < len; i++){
|
for(uint16_t i=0; i < len; i++){
|
||||||
*(c + 1) = (char)randLIB_get_8bit();
|
*(c + i) = (char)randLIB_get_8bit();
|
||||||
}
|
}
|
||||||
memmove(output, c, len);
|
memmove(output, c, len);
|
||||||
*olen = len;
|
*olen = len;
|
||||||
|
|
Loading…
Reference in New Issue