Commit f18f59c8 authored by johan's avatar johan
Browse files

update to last get time API in bctoolbox

parent dfcc2be7
......@@ -383,7 +383,7 @@ static int ms_zrtp_addExportedKeysInZidCache(void *zidCacheData, void *clientDat
BZRTP_CACHE_DONTLOADFILE|BZRTP_CACHE_WRITEFILE,
BZRTP_CUSTOMCACHE_MULTIPLETAG_FORBID);
}else {
_bctbx_get_cur_time(&currentTime,TRUE);
bctbx_get_utc_cur_time(&currentTime);
bctbx_timespec_add(&currentTime, (int64_t)(zidCache->limeKeyTimeSpan));
bctbx_uint64ToStr(currentTimeHex, currentTime.tv_sec);
bzrtp_addCustomDataInCache(zrtpContext, peerZid, (uint8_t *)"valid", 5, currentTimeHex, (uint16_t)strlen((char *)currentTimeHex), 0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment