Searched refs:timestr (Results 1 – 1 of 1) sorted by relevance
911 static time_t asn1_time_to_time_t(ASN1_UTCTIME * timestr) /* {{{ */ in asn1_time_to_time_t() argument927 …if (ASN1_STRING_type(timestr) != V_ASN1_UTCTIME && ASN1_STRING_type(timestr) != V_ASN1_GENERALIZED… in asn1_time_to_time_t()932 timestr_len = (size_t)ASN1_STRING_length(timestr); in asn1_time_to_time_t()934 if (timestr_len != strlen((const char *)ASN1_STRING_get0_data(timestr))) { in asn1_time_to_time_t()940 php_error_docref(NULL, E_WARNING, "unable to parse time string %s correctly", timestr->data); in asn1_time_to_time_t()944 if (ASN1_STRING_type(timestr) == V_ASN1_GENERALIZEDTIME && timestr_len < 15) { in asn1_time_to_time_t()945 php_error_docref(NULL, E_WARNING, "unable to parse time string %s correctly", timestr->data); in asn1_time_to_time_t()949 strbuf = estrdup((const char *)ASN1_STRING_get0_data(timestr)); in asn1_time_to_time_t()976 if( ASN1_STRING_type(timestr) == V_ASN1_UTCTIME ) { in asn1_time_to_time_t()983 } else if( ASN1_STRING_type(timestr) == V_ASN1_GENERALIZEDTIME ) { in asn1_time_to_time_t()
Completed in 16 milliseconds