Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7108

X509CA.upgrade could upgrade CA Overlap Time wrong from ancient version

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Cosmetic
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 6.14.0
    • Component/s: None
    • Labels:
      None
    • Stakeholder:
      R&D
    • Issue discovered during:
      Review
    • Sprint:
      EJBCA Sprint 15

      Description

      X509CA.upgrade have:

      if (data.get(CRLOVERLAPTIME) == null) {
       // Default value 10 minutes
       setCRLOverlapTime(10);
       }

      But later on it's converted to ms if the old value was an integer. The above sets a long however so the conversion to ms would never be done, if there was no CRLOVERLAPTIME existing. This has existed so long so it's not a problem in practice, we should tidy the code and make it correct though.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tomas Tomas Gustavsson
                Reporter:
                tomas Tomas Gustavsson
                Verified by:
                Bastian Fredriksson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: