Searched refs:asn1Time (Results 1 – 2 of 2) sorted by relevance
293 bool parseAsn1Time(const ASN1_TIME* asn1Time, time_t* outTime) { in parseAsn1Time() argument297 const char* timeStr = (const char*)asn1Time->data; in parseAsn1Time()299 if (asn1Time->type == V_ASN1_UTCTIME) { in parseAsn1Time()304 } else if (asn1Time->type == V_ASN1_GENERALIZEDTIME) { in parseAsn1Time()308 LOG(ERROR) << "Unsupported ASN1_TIME type " << asn1Time->type; in parseAsn1Time()
325 bool parseAsn1Time(const ASN1_TIME* asn1Time, time_t* outTime) { in parseAsn1Time() argument329 const char* timeStr = (const char*)asn1Time->data; in parseAsn1Time()331 if (asn1Time->type == V_ASN1_UTCTIME) { in parseAsn1Time()336 } else if (asn1Time->type == V_ASN1_GENERALIZEDTIME) { in parseAsn1Time()340 LOG(ERROR) << "Unsupported ASN1_TIME type " << asn1Time->type; in parseAsn1Time()