summaryrefslogtreecommitdiffstats
path: root/base/util/src/netscape/security/util/DerInputStream.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/util/src/netscape/security/util/DerInputStream.java')
-rw-r--r--base/util/src/netscape/security/util/DerInputStream.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/util/src/netscape/security/util/DerInputStream.java b/base/util/src/netscape/security/util/DerInputStream.java
index ff1c54ba2..40763a6ba 100644
--- a/base/util/src/netscape/security/util/DerInputStream.java
+++ b/base/util/src/netscape/security/util/DerInputStream.java
@@ -453,7 +453,7 @@ public class DerInputStream {
if (Htmp >= 24 || Mtmp >= 60)
throw new IOException("Parse UTCtime, +hhmm");
- utcTime += ((Htmp * 60) + Mtmp) * 60 * 1000;
+ utcTime += ((Htmp * 60) + Mtmp) * 60 * 1000L;
}
break;
@@ -466,7 +466,7 @@ public class DerInputStream {
if (Htmp >= 24 || Mtmp >= 60)
throw new IOException("Parse UTCtime, -hhmm");
- utcTime -= ((Htmp * 60) + Mtmp) * 60 * 1000;
+ utcTime -= ((Htmp * 60) + Mtmp) * 60 * 1000L;
}
break;
@@ -560,7 +560,7 @@ public class DerInputStream {
if (Htmp >= 24 || Mtmp >= 60)
throw new IOException("Parse GeneralizedTime, +hhmm");
- utcTime += ((Htmp * 60) + Mtmp) * 60 * 1000;
+ utcTime += ((Htmp * 60) + Mtmp) * 60 * 1000L;
}
break;
@@ -573,7 +573,7 @@ public class DerInputStream {
if (Htmp >= 24 || Mtmp >= 60)
throw new IOException("Parse GeneralizedTime, -hhmm");
- utcTime -= ((Htmp * 60) + Mtmp) * 60 * 1000;
+ utcTime -= ((Htmp * 60) + Mtmp) * 60 * 1000L;
}
break;