Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [Users] freeswan-certificate problem

From: Andreas Steffen <andreas.steffen(at)strongsec.net>
Date: Wed Mar 31 2004 - 06:35:49 EST

Ok, the largest positive integer a 32 bit signed int variable can represent is

    2^31 -1 = 2'147'483'647

On a Linux/Unix system dates are stored in elapsed seconds since Epoch (Jan 1, 1970).

2'147'483'647 seconds = 596'523 hours = 24'855 days

  • 68 years + 17 days

Jan 1 1970 + 68 years + 17 days = Jan 18 2038

Thus the limitation in openssl is not due to ASN.1 UTCTIME coding but to 32 bit integer arithmetic.

Regards

Do you need help?X

Andreas

sahil wrote:

> hi,
>
> But when i gave days=12346,


Andreas Steffen                   e-mail: andreas.steffen@strongsec.com
strongSec GmbH                    home:   
http://www.strongsec.com
Alter Zürichweg 20                phone:  +41 1 730 80 64
CH-8952 Schlieren (Switzerland) fax: +41 1 730 80 65
==========================================[strong internet security]===

Content Security by MailMarshal



FreeS/WAN Users mailing list
users@lists.freeswan.org
https://mj2.freeswan.org/cgi-bin/mj_wwwusr Received on Wed Mar 31 06:56:12 2004

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:02:30 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library