bug in calcCDID wrapper function
This commit is contained in:
parent
53a10fa0f8
commit
c202d01c40
@ -184,10 +184,6 @@ int _calcCDID(uint8_t * _CDID)
|
|||||||
|
|
||||||
//step3 : call calcCDID
|
//step3 : call calcCDID
|
||||||
calcCDID(UDS_ID,FW_ID,_CDID);
|
calcCDID(UDS_ID,FW_ID,_CDID);
|
||||||
calcCDID(UDS_ID,FW_ID,_CDID);
|
|
||||||
calcCDID(UDS_ID,FW_ID,_CDID);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BIO_printf(out,"_UDID : ");
|
BIO_printf(out,"_UDID : ");
|
||||||
for(int i = 0; i < SHA256_dig_t; i++)
|
for(int i = 0; i < SHA256_dig_t; i++)
|
||||||
|
@ -30,6 +30,7 @@ void startProtocol()
|
|||||||
uint8_t* _CD_ID = calloc(1,sizeof(uint8_t)*SHA256_dig_t);
|
uint8_t* _CD_ID = calloc(1,sizeof(uint8_t)*SHA256_dig_t);
|
||||||
_calcCDID(_CD_ID);
|
_calcCDID(_CD_ID);
|
||||||
|
|
||||||
|
|
||||||
//End block
|
//End block
|
||||||
free(UDS_ID);
|
free(UDS_ID);
|
||||||
free(FW_ID);
|
free(FW_ID);
|
||||||
|
BIN
trial1/out/main2
BIN
trial1/out/main2
Binary file not shown.
Loading…
Reference in New Issue
Block a user