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").
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").