Merge pull request #48080 from lusche/2017.7

Bugfix #47984 messed up cert serial
This commit is contained in:
Nicole Thomas 2018-06-22 14:00:13 -04:00 committed by GitHub
commit 83d7d286c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -942,7 +942,6 @@ def create_crl( # pylint: disable=too-many-arguments,too-many-locals
rev_item['not_after'] = rev_cert['Not After']
serial_number = rev_item['serial_number'].replace(':', '')
serial_number = str(int(serial_number, 16))
if 'not_after' in rev_item and not include_expired:
not_after = datetime.datetime.strptime(