error_t sendResult;
dmsg = call HSumSend.getPayloadPtr();
+ if(dmsg == NULL)
+ return FAIL;
+
dmsg->type = ID_DHV_HSUM;
dhsmsg = (dhv_hsum_msg_t*) dmsg->content;
local_hash = call DhvHelp.computeHash(0, UQCOUNT_DHV, salt);
if(rcv_hash == local_hash) {
call VBitLogic.setSameSummary();
+ commRate = commRate + 1;
}else{
call VBitLogic.setVBitState(1);
}