Date bug in X509.pmod
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3357
Reported by Marcus Wellhardh wellhard@roxen.com
The parse_time function in Tools.pmod/X509.pmod does not accept the last day in a month.
Change: if ( (m->mday <= 0) || (m->mday >= Calendar.ISO.Year(m->year + 1900) ->month(m->mon + 1)->number_of_days()))
To: if ( (m->mday <= 0) || (m->mday > Calendar.ISO.Year(m->year + 1900) ->month(m->mon + 1)->number_of_days()))