https://bugs.contribs.org/show_bug.cgi?id=8685

--- Comment #13 from Terry Fage <[email protected]> ---
Old version of openssl_functions.php

sscanf(CA_cert_startdate($a[3]),"%s %s %s %s", $mm,$dd,$tt,$yy);
        $db['issued'] = strftime("%y-%b-%d", strtotime("$dd $mm $yy"));

        sscanf($a[1], "%2s%2s%2s",$yy,$mm,$dd);
        $db['expires'] = strftime("%y-%b-%d", strtotime("$mm/$dd/$yy"));

        if (time() > strtotime("$mm/$dd/$yy"))
                $db['status'] = "Expired";

New version
        sscanf(CA_cert_startdate($a[3]),"%s %s %s %s", $mm,$dd,$tt,$yy);
        $db['issued'] = strftime("%Y-%b-%d", strtotime("$yy-$mm-$dd"));

        sscanf(CA_cert_enddate($a[3]), "%s %s %s %s",$mm,$dd,$tt,$yy);
        $db['expires'] = strftime("%Y-%b-%d", strtotime("$yy-$mm-$dd"));

        if (time() > strtotime("$mm-$dd-$yy"))
                $db['status'] = "Expired";

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to