提交 e03b2987 编写于 作者: R Rich Salz

RT3548: Remove outdated platforms

This commit removes all mention of NeXT and NextStep.
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 488f16e3
...@@ -28,7 +28,8 @@ ...@@ -28,7 +28,8 @@
*) Remove various unsupported platforms: *) Remove various unsupported platforms:
Sony NEWS4 Sony NEWS4
Remove BEOS and BEOS_R5 BEOS and BEOS_R5
NeXT
[Rich Salz] [Rich Salz]
*) Experimental support for a new, fast, unbiased prime candidate generator, *) Experimental support for a new, fast, unbiased prime candidate generator,
......
...@@ -178,7 +178,7 @@ typedef struct _ossl_old_des_ks_struct ...@@ -178,7 +178,7 @@ typedef struct _ossl_old_des_ks_struct
#if 0 #if 0
#define des_crypt(b,s)\ #define des_crypt(b,s)\
DES_crypt((b),(s)) DES_crypt((b),(s))
#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(__OpenBSD__) #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
#define crypt(b,s)\ #define crypt(b,s)\
DES_crypt((b),(s)) DES_crypt((b),(s))
#endif #endif
...@@ -375,7 +375,7 @@ int _ossl_old_des_enc_write(int fd,char *buf,int len,_ossl_old_des_key_schedule ...@@ -375,7 +375,7 @@ int _ossl_old_des_enc_write(int fd,char *buf,int len,_ossl_old_des_key_schedule
_ossl_old_des_cblock *iv); _ossl_old_des_cblock *iv);
char *_ossl_old_des_fcrypt(const char *buf,const char *salt, char *ret); char *_ossl_old_des_fcrypt(const char *buf,const char *salt, char *ret);
char *_ossl_old_des_crypt(const char *buf,const char *salt); char *_ossl_old_des_crypt(const char *buf,const char *salt);
#if !defined(PERL5) && !defined(NeXT) #if !defined(PERL5)
char *_ossl_old_crypt(const char *buf,const char *salt); char *_ossl_old_crypt(const char *buf,const char *salt);
#endif #endif
void _ossl_old_des_ofb_encrypt(unsigned char *in,unsigned char *out, void _ossl_old_des_ofb_encrypt(unsigned char *in,unsigned char *out,
......
...@@ -164,8 +164,6 @@ static void timings(EC_GROUP *group, int type, BN_CTX *ctx) ...@@ -164,8 +164,6 @@ static void timings(EC_GROUP *group, int type, BN_CTX *ctx)
* -- ISO/IEC 9899 */ * -- ISO/IEC 9899 */
# define UNIT "s" # define UNIT "s"
#else #else
/* "`CLOCKS_PER_SEC' undeclared (first use this function)"
* -- cc on NeXTstep/OpenStep */
# define UNIT "units" # define UNIT "units"
# define CLOCKS_PER_SEC 1 # define CLOCKS_PER_SEC 1
#endif #endif
......
...@@ -432,11 +432,6 @@ static __inline unsigned int _strlen31(const char *str) ...@@ -432,11 +432,6 @@ static __inline unsigned int _strlen31(const char *str)
# ifndef NO_SYS_TYPES_H # ifndef NO_SYS_TYPES_H
# include <sys/types.h> # include <sys/types.h>
# endif # endif
# if defined(NeXT)
# define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP
* (unless when compiling with -D_POSIX_SOURCE,
* which doesn't work for us) */
# endif
# ifdef OPENSSL_SYS_WIN32_CYGWIN # ifdef OPENSSL_SYS_WIN32_CYGWIN
# include <io.h> # include <io.h>
# include <fcntl.h> # include <fcntl.h>
...@@ -560,11 +555,6 @@ static __inline unsigned int _strlen31(const char *str) ...@@ -560,11 +555,6 @@ static __inline unsigned int _strlen31(const char *str)
# include <arpa/inet.h> # include <arpa/inet.h>
# endif # endif
# if defined(NeXT) || defined(_NEXT_SOURCE)
# include <sys/fcntl.h>
# include <sys/types.h>
# endif
# ifdef OPENSSL_SYS_AIX # ifdef OPENSSL_SYS_AIX
# include <sys/select.h> # include <sys/select.h>
# endif # endif
......
...@@ -269,7 +269,7 @@ extern "C" { ...@@ -269,7 +269,7 @@ extern "C" {
# define ossl_ssize_t long # define ossl_ssize_t long
#endif #endif
#if defined(NeXT) || defined(OPENSSL_SYS_SUNOS) #if defined(OPENSSL_SYS_SUNOS)
# define ssize_t int # define ssize_t int
#endif #endif
......
...@@ -1852,8 +1852,6 @@ bad: ...@@ -1852,8 +1852,6 @@ bad:
(double)s_time/CLOCKS_PER_SEC, (double)s_time/CLOCKS_PER_SEC,
(double)c_time/CLOCKS_PER_SEC); (double)c_time/CLOCKS_PER_SEC);
#else #else
/* "`CLOCKS_PER_SEC' undeclared (first use this function)"
* -- cc on NeXTstep/OpenStep */
BIO_printf(bio_stdout, BIO_printf(bio_stdout,
"Approximate total server time: %6.2f units\n" "Approximate total server time: %6.2f units\n"
"Approximate total client time: %6.2f units\n", "Approximate total client time: %6.2f units\n",
......
...@@ -78,7 +78,7 @@ my $OS2=0; ...@@ -78,7 +78,7 @@ my $OS2=0;
# Set this to make typesafe STACK definitions appear in DEF # Set this to make typesafe STACK definitions appear in DEF
my $safe_stack_def = 0; my $safe_stack_def = 0;
my @known_platforms = ( "__FreeBSD__", "PERL5", "NeXT", my @known_platforms = ( "__FreeBSD__", "PERL5",
"EXPORT_VAR_AS_FUNCTION", "ZLIB", "EXPORT_VAR_AS_FUNCTION", "ZLIB",
"OPENSSL_FIPS", "OPENSSL_FIPSCAPABLE" ); "OPENSSL_FIPS", "OPENSSL_FIPSCAPABLE" );
my @known_ossl_platforms = ( "VMS", "WIN16", "WIN32", "WINNT", "OS2" ); my @known_ossl_platforms = ( "VMS", "WIN16", "WIN32", "WINNT", "OS2" );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册