Searched refs:timestr (Results 1 – 1 of 1) sorted by relevance
917 static time_t php_openssl_asn1_time_to_time_t(ASN1_UTCTIME * timestr) /* {{{ */ in php_openssl_asn1_time_to_time_t() argument933 …if (ASN1_STRING_type(timestr) != V_ASN1_UTCTIME && ASN1_STRING_type(timestr) != V_ASN1_GENERALIZED… in php_openssl_asn1_time_to_time_t()938 timestr_len = (size_t)ASN1_STRING_length(timestr); in php_openssl_asn1_time_to_time_t()940 if (timestr_len != strlen((const char *)ASN1_STRING_get0_data(timestr))) { in php_openssl_asn1_time_to_time_t()946 php_error_docref(NULL, E_WARNING, "unable to parse time string %s correctly", timestr->data); in php_openssl_asn1_time_to_time_t()950 if (ASN1_STRING_type(timestr) == V_ASN1_GENERALIZEDTIME && timestr_len < 15) { in php_openssl_asn1_time_to_time_t()951 php_error_docref(NULL, E_WARNING, "unable to parse time string %s correctly", timestr->data); in php_openssl_asn1_time_to_time_t()955 strbuf = estrdup((const char *)ASN1_STRING_get0_data(timestr)); in php_openssl_asn1_time_to_time_t()982 if( ASN1_STRING_type(timestr) == V_ASN1_UTCTIME ) { in php_openssl_asn1_time_to_time_t()989 } else if( ASN1_STRING_type(timestr) == V_ASN1_GENERALIZEDTIME ) { in php_openssl_asn1_time_to_time_t()
Completed in 29 milliseconds