On Tue, Feb 26, 2002 at 06:02:25PM -0500, Mike Schiraldi wrote: > 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.
Do you think of the "openssl smime" command line utility only? Or do you request an extension for the internal verification API as a whole? Best regards, Lutz -- Lutz Jaenicke [EMAIL PROTECTED] http://www.aet.TU-Cottbus.DE/personen/jaenicke/ BTU Cottbus, Allgemeine Elektrotechnik Universitaetsplatz 3-4, D-03044 Cottbus ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]