Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta_x509: avoid bad time values and catch error string exception #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 25, 2016

  1. meta_x509: avoid bad time values and catch error string exception

    cert.get_not_before() and cert.get_not_after() can return the string
    'Bad time value', which was causing exception when attempting to parse
    with strptime().
    
    The string.split()'ing on the ugly_error_string was sometimes not
    producing the number of values expected.  If this occurs, the code
    now calls addFlag("x509:err:unknown").
    knowmalware committed Sep 25, 2016
    Configuration menu
    Copy the full SHA
    8eb20c1 View commit details
    Browse the repository at this point in the history