diff options
Diffstat (limited to 'scripts/rpki/sql.py')
-rw-r--r-- | scripts/rpki/sql.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/rpki/sql.py b/scripts/rpki/sql.py index 6fabc88d..228960f6 100644 --- a/scripts/rpki/sql.py +++ b/scripts/rpki/sql.py @@ -508,7 +508,9 @@ class child_cert_obj(sql_persistant): def revoke(self): """Mark a child cert as revoked.""" - self.revoked = True + if not self.revoked: + self.revoked = True + self.sql_mark_dirty() def reissue(self, gctx, ca_detail, resources, sia): """Reissue an existing cert, reusing the public key. If the cert |