bug in calcCDID wrapper function

This commit is contained in:
atul.jha 2020-05-21 18:46:17 +02:00
parent 53a10fa0f8
commit c202d01c40
3 changed files with 1 additions and 4 deletions

View File

@ -184,10 +184,6 @@ int _calcCDID(uint8_t * _CDID)
//step3 : call calcCDID
calcCDID(UDS_ID,FW_ID,_CDID);
calcCDID(UDS_ID,FW_ID,_CDID);
calcCDID(UDS_ID,FW_ID,_CDID);
BIO_printf(out,"_UDID : ");
for(int i = 0; i < SHA256_dig_t; i++)

View File

@ -30,6 +30,7 @@ void startProtocol()
uint8_t* _CD_ID = calloc(1,sizeof(uint8_t)*SHA256_dig_t);
_calcCDID(_CD_ID);
//End block
free(UDS_ID);
free(FW_ID);

Binary file not shown.