commit | 45ebb73416a67cb87b7ca0bfcfe7902b4f38250a | [log] [tgz] |
---|---|---|
author | lovetox <philipp@hoerist.com> | Fri May 13 16:20:08 2022 |
committer | GitHub <noreply@github.com> | Fri May 13 16:20:08 2022 |
tree | 0a5e253c0feb791ffc3b2ff7eaeeaa0ef214d460 | |
parent | b31622b369618746e54242ebfcc305154bf0ef59 [diff] |
Handle no expire date in X509.has_expire() (#1083) get_notAfter() can return None. Instead of raising a NoneType error, raise a ValueError which tells us why it failed.