The OPENSSL_gmtime in o_time.c (that gets called from other places like ASN1_UTCTIME_cmp_time_t in a_utctm.c) does not use the safe version of gmtime in lots of platforms including:
OPENSSL_SYS_WIN32
OPENSSL_SYS_OS2
__CYGWIN32__
OPENSSL_SYS_MACOSX
OPENSSL_SYS_SUNOS

This could cause problems in multi-thread environments, why not use mutexes to wrap the gmtime and memcpy, like other places in the library?
 
Is there any one that can add this to CVS?
 
Thanks
 
Joe

Reply via email to