Loading apps/apps.c +6 −4 Original line number Diff line number Diff line Loading @@ -110,10 +110,12 @@ */ #if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS) #define _POSIX_C_SOURCE 2 /* On VMS, you need to define this to get the declaration of fileno(). The value 2 is to make sure no function defined in POSIX-2 is left undefined. */ /* On VMS, you need to define this to get * the declaration of fileno(). The value * 2 is to make sure no function defined * in POSIX-2 is left undefined. */ #define _POSIX_C_SOURCE 2 #endif #include <stdio.h> #include <stdlib.h> Loading apps/ca.c +2 −1 Original line number Diff line number Diff line Loading @@ -1497,7 +1497,8 @@ bad: } if (crlnumberfile != NULL) /* we have a CRL number that need updating */ /* we have a CRL number that need updating */ if (crlnumberfile != NULL) if (!save_serial(crlnumberfile,"new",crlnumber,NULL)) goto err; if (crlnumber) Loading apps/passwd.c +2 −1 Original line number Diff line number Diff line Loading @@ -310,7 +310,8 @@ err: */ static char *md5crypt(const char *passwd, const char *magic, const char *salt) { static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */ /* "$apr1$..salt..$.......md5hash..........\0" */ static char out_buf[6 + 9 + 24 + 2]; unsigned char buf[MD5_DIGEST_LENGTH]; char *salt_out; int n; Loading apps/s_apps.h +2 −1 Original line number Diff line number Diff line Loading @@ -108,7 +108,8 @@ * Hudson (tjh@cryptsoft.com). * */ #if !defined(OPENSSL_SYS_NETWARE) /* conflicts with winsock2 stuff on netware */ /* conflicts with winsock2 stuff on netware */ #if !defined(OPENSSL_SYS_NETWARE) #include <sys/types.h> #endif #include <openssl/opensslconf.h> Loading apps/s_server.c +2 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,8 @@ #include <openssl/e_os2.h> #if !defined(OPENSSL_SYS_NETWARE) /* conflicts with winsock2 stuff on netware */ /* conflicts with winsock2 stuff on netware */ #if !defined(OPENSSL_SYS_NETWARE) #include <sys/types.h> #endif Loading Loading
apps/apps.c +6 −4 Original line number Diff line number Diff line Loading @@ -110,10 +110,12 @@ */ #if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS) #define _POSIX_C_SOURCE 2 /* On VMS, you need to define this to get the declaration of fileno(). The value 2 is to make sure no function defined in POSIX-2 is left undefined. */ /* On VMS, you need to define this to get * the declaration of fileno(). The value * 2 is to make sure no function defined * in POSIX-2 is left undefined. */ #define _POSIX_C_SOURCE 2 #endif #include <stdio.h> #include <stdlib.h> Loading
apps/ca.c +2 −1 Original line number Diff line number Diff line Loading @@ -1497,7 +1497,8 @@ bad: } if (crlnumberfile != NULL) /* we have a CRL number that need updating */ /* we have a CRL number that need updating */ if (crlnumberfile != NULL) if (!save_serial(crlnumberfile,"new",crlnumber,NULL)) goto err; if (crlnumber) Loading
apps/passwd.c +2 −1 Original line number Diff line number Diff line Loading @@ -310,7 +310,8 @@ err: */ static char *md5crypt(const char *passwd, const char *magic, const char *salt) { static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */ /* "$apr1$..salt..$.......md5hash..........\0" */ static char out_buf[6 + 9 + 24 + 2]; unsigned char buf[MD5_DIGEST_LENGTH]; char *salt_out; int n; Loading
apps/s_apps.h +2 −1 Original line number Diff line number Diff line Loading @@ -108,7 +108,8 @@ * Hudson (tjh@cryptsoft.com). * */ #if !defined(OPENSSL_SYS_NETWARE) /* conflicts with winsock2 stuff on netware */ /* conflicts with winsock2 stuff on netware */ #if !defined(OPENSSL_SYS_NETWARE) #include <sys/types.h> #endif #include <openssl/opensslconf.h> Loading
apps/s_server.c +2 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,8 @@ #include <openssl/e_os2.h> #if !defined(OPENSSL_SYS_NETWARE) /* conflicts with winsock2 stuff on netware */ /* conflicts with winsock2 stuff on netware */ #if !defined(OPENSSL_SYS_NETWARE) #include <sys/types.h> #endif Loading