sid->time   = ssl_Time() + expirationPeriod;
CacheSID(sslSessionID *sid){    PRUint32  expirationPeriod;    SSL_TRC(8, ("SSL: Cache: sid=0x%x cached=%d addr=0x%08x%08x%08x%08x port=0x%04x "		"time=%x cached=%d",		sid, sid->cached, sid->addr.pr_s6_addr32[0], 		sid->addr.pr_s6_addr32[1], sid->addr.pr_s6_addr32[2],		sid->addr.pr_s6_addr32[3],  sid->port, sid->time,		sid->cached));    if (sid->cached == in_client_cache)	return;    /* XXX should be different trace for version 2 vs. version 3 */    if (sid->version < SSL_LIBRARY_VERSION_3_0) {	expirationPeriod = ssl_sid_timeout;	PRINT_BUF(8, (0, "sessionID:",		  sid->u.ssl2.sessionID, sizeof(sid->u.ssl2.sessionID)));	PRINT_BUF(8, (0, "masterKey:",		  sid->u.ssl2.masterKey.data, sid->u.ssl2.masterKey.len));	PRINT_BUF(8, (0, "cipherArg:",		  sid->u.ssl2.cipherArg.data, sid->u.ssl2.cipherArg.len));    } else {	if (sid->u.ssl3.sessionIDLength == 0) 	    return;	expirationPeriod = ssl3_sid_timeout;	PRINT_BUF(8, (0, "sessionID:",		      sid->u.ssl3.sessionID, sid->u.ssl3.sessionIDLength));    }    /*     * Put sid into the cache.  Bump reference count to indicate that     * cache is holding a reference. Uncache will reduce the cache     * reference.     */    LOCK_CACHE;    sid->references++;    sid->cached = in_client_cache;    sid->next   = cache;    cache       = sid;    sid->time   = ssl_Time() + expirationPeriod;    UNLOCK_CACHE;}