Update coap_security_handler.c

pull/3240/head
Antti Kauppila 2016-02-06 13:07:51 +02:00
parent fbdfa62dbe
commit 3bfc457c7f
1 changed files with 1 additions and 3 deletions

View File

@ -60,10 +60,8 @@ static int coap_security_handler_init(coap_security_t *sec){
sec->_is_started = false;
//TODO: Must have at least 1 strong entropy source, otherwise DTLS will fail.
//This is NOT strong even we say it is!
if( mbedtls_entropy_add_source( &sec->_entropy, entropy_poll, NULL,
128, 1 ) < 0 ){
128, 0 ) < 0 ){
return -1;
}