From: Felix Dörre Date: Wed, 9 Jul 2014 18:24:11 +0000 (+0200) Subject: Name Cleanup in SimpleSigner X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=8a4b391a688509c8f1b4b10d6509fd44b8c79895 Name Cleanup in SimpleSigner --- diff --git a/util/org/cacert/gigi/util/SimpleSigner.java b/util/org/cacert/gigi/util/SimpleSigner.java index 7bee775a..9d5e9d29 100644 --- a/util/org/cacert/gigi/util/SimpleSigner.java +++ b/util/org/cacert/gigi/util/SimpleSigner.java @@ -46,13 +46,13 @@ public class SimpleSigner { gencrl(); while (true) { System.out.println("ping"); - executeOutstanders(); - revokeOutstanders(); + signCertificates(); + revokeCertificates(); Thread.sleep(5000); } } - private static void revokeOutstanders() throws SQLException, IOException, + private static void revokeCertificates() throws SQLException, IOException, InterruptedException { ResultSet rs = revoke.executeQuery(); boolean worked = false; @@ -98,7 +98,7 @@ public class SimpleSigner { System.out.println("Error while generating crl."); } } - private static void executeOutstanders() throws SQLException, IOException, + private static void signCertificates() throws SQLException, IOException, InterruptedException { ResultSet rs = readyMail.executeQuery(); while (rs.next()) {