]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/dbObjects/Certificate.java
UPD: Correct reping (with 5min rate limiting)
[gigi.git] / src / org / cacert / gigi / dbObjects / Certificate.java
index df940dbc06816cf33eaaf5151dbe343705e6af62..ced044cd8d34a102fa68875e0b9d6604d7fbfdea 100644 (file)
@@ -219,10 +219,10 @@ public class Certificate {
 
         crtName = rs.getString(1);
         serial = rs.getString(4);
-        if (rs.getTime(2) == null) {
+        if (rs.getTimestamp(2) == null) {
             return CertificateStatus.DRAFT;
         }
-        if (rs.getTime(2) != null && rs.getTime(3) == null) {
+        if (rs.getTimestamp(2) != null && rs.getTimestamp(3) == null) {
             return CertificateStatus.ISSUED;
         }
         return CertificateStatus.REVOKED;