I would like to specify an "effective time" for openssl to use when
verifying S/MIME messages, so that i can override my system clock when
checking the validity period.

I tried adding an (eww) global variable called effective_time which is -1 by
default and can be set with a command line option. All the parts of OpenSSL
that get the current time will check this variable, and if it's not -1, will
use its value in place of time(NULL)

However, i've had trouble putting a variable into global scope because of
the modular nature of OpenSSL.

Suggestions on The Right Way to do this? Ideally i'd like to not use a
global variable.


-- 
Mike Schiraldi
VeriSign Applied Research

Attachment: smime.p7s
Description: application/pkcs7-signature

Reply via email to