Is there a function of some sort that enables me to add a certain amount of
days to a date stored inside an ASN1_TIME structure ??

 Example:

  Suppose I want to set the expiration date for a new certificate as the
expiration date of another certificate PLUS a year... So, what I have is:

        X509_set_notBefore(newCert, X509_get_notBefore(oldCert));

  My problem is: How can I add the 365 days to the result of
X509_get_notBefore(oldCert) ??

----------------------
Arthur Wongtschowski
SCOPUS Tecnologia S.A.
Seguran�a de Sistemas




______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to