Skip to content

Commit

Permalink
Fix variable name in NSSDatabase.get_cert_info()
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Nov 4, 2024
1 parent 16a1004 commit bb4b078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/common/python/pki/nssdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2105,7 +2105,7 @@ def get_cert_info(self, nickname, token=None):
not_before = cert_obj.not_valid_before_utc
else:
# use the deprecated attribute then convert into UTC
not_valid_before = cert_obj.not_valid_before.replace(tzinfo=datetime.timezone.utc)
not_before = cert_obj.not_valid_before.replace(tzinfo=datetime.timezone.utc)
cert['not_before'] = self.convert_time_to_millis(not_before)

if hasattr(cert_obj, 'not_valid_after_utc'):
Expand Down

0 comments on commit bb4b078

Please sign in to comment.