Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=76407 --- shadow/76407 2005-10-11 09:05:51.000000000 -0400 +++ shadow/76407.tmp.25112 2005-10-11 09:05:51.000000000 -0400 @@ -0,0 +1,30 @@ +Bug#: 76407 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Mono.Security +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Method WasCurrent in X509Certificate class + +The comparison made in method WasCurrent() are made with ValidFrom and +ValidUntil properties, which are in local time, but the comparator +'instant' is in UTC in the case in which it is called from the IsCurrent +property. + +IsCurrent should perhaps be like this: + + public bool IsCurrent { + get { return WasCurrent (DateTime.Now); } + } + +Since ValidFrom and ValidUntil should continue to use local time? _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
