Commit a5831c79 authored by Vincent Pelletier's avatar Vincent Pelletier

caucase.http: Fix database.revoke argument type

This is intended to be a timestamp, not a datetime instance, but one such
instance was accidentally provided here.
parent 30021843
......@@ -1163,7 +1163,7 @@ def manage(argv=None, stdout=sys.stdout):
try:
db.revoke(
revoked.serial_number,
latest_ca_not_after,
utils.datetime2timestamp(latest_ca_not_after),
)
except exceptions.Found:
already_revoked_count += 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment