>-rw-r--r-- levitte/usr 116191 1999-05-07 14:48 OpenSSL.diffs_to_orig
In s_time.c and a number of other files, you add
> # include <io.h>
> extern void exit();
for the ifdef MSDOS case. What good is that? exit() is declared in
stdlib.h (according to the standard, which Microsoft happens to follow
in this case), and io.h is already included indirectly via e_os.h.
For the VMS case, you first define TIMES, then include a header file
if TIMES is defined and undefine TIMES again if on VMS. If I untangle
that thing, I get
#ifdef VMS
# ifdef __DECC
# include <unistd.h>
# ifndef __TMS
# include <sys/times.h>
# endif
# endif
#else
# ifndef MSDOS
# define TIMES
# endif
#endif
[...]
#ifdef TIMES
#include <sys/times.h>
#else
#include <sys/timeb.h>
#endif
Is that what you mean? (You left rc4speed.c unchanged, btw.)
> #if !(defined(VMS) || defined(__VMS))
> #define HZ 100.0
> #else /* VMS */
> #define HZ 100.0
> #endif
Huh?
You frequently have constructs like
> #if (defined(VMS) || defined(__VMS)) && !defined(__DECC)
Instead, e_os.h should contain
#if defined(__VMS) && !defined(VMS)
#define VMS
#endif
in the interest of readability.
Is "globalref" VMSspeak for "extern"? Then that should also be defined
in e_os.h, and not in the files where it is used.
Why did you change the fopen mode in RAND_write_file?
What does DRM stand for?
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]