mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-27 10:14:36 +00:00
Remove NextStep support
Because of that we can remove OPENSSL_UNISTD and some other macros from e_os2.h and opensslconf.h Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9204)
This commit is contained in:
parent
19ea6b2b37
commit
6b10d29c1a
3
CHANGES
3
CHANGES
@ -9,6 +9,9 @@
|
|||||||
|
|
||||||
Changes between 1.1.1 and 3.0.0 [xx XXX xxxx]
|
Changes between 1.1.1 and 3.0.0 [xx XXX xxxx]
|
||||||
|
|
||||||
|
*) Removed NextStep support and the macro OPENSSL_UNISTD
|
||||||
|
[Rich Salz]
|
||||||
|
|
||||||
*) RC5_32_set_key has been changed to return an int type, with 0 indicating
|
*) RC5_32_set_key has been changed to return an int type, with 0 indicating
|
||||||
an error and 1 indicating success. In previous versions of OpenSSL this
|
an error and 1 indicating success. In previous versions of OpenSSL this
|
||||||
was a void type. If a key was set longer than the maximum possible this
|
was a void type. If a key was set longer than the maximum possible this
|
||||||
|
@ -1051,23 +1051,6 @@ my %targets = (
|
|||||||
shared_cflag => "-fPIC",
|
shared_cflag => "-fPIC",
|
||||||
},
|
},
|
||||||
|
|
||||||
"nextstep" => {
|
|
||||||
inherit_from => [ "BASE_unix" ],
|
|
||||||
CC => "cc",
|
|
||||||
CFLAGS => "-O -Wall",
|
|
||||||
unistd => "<libc.h>",
|
|
||||||
bn_ops => "BN_LLONG",
|
|
||||||
thread_scheme => "(unknown)",
|
|
||||||
},
|
|
||||||
"nextstep3.3" => {
|
|
||||||
inherit_from => [ "BASE_unix" ],
|
|
||||||
CC => "cc",
|
|
||||||
CFLAGS => "-O3 -Wall",
|
|
||||||
unistd => "<libc.h>",
|
|
||||||
bn_ops => "BN_LLONG",
|
|
||||||
thread_scheme => "(unknown)",
|
|
||||||
},
|
|
||||||
|
|
||||||
#### SCO/Caldera targets.
|
#### SCO/Caldera targets.
|
||||||
#
|
#
|
||||||
# Originally we had like unixware-*, unixware-*-pentium, unixware-*-p6, etc.
|
# Originally we had like unixware-*, unixware-*-pentium, unixware-*-p6, etc.
|
||||||
|
@ -3314,7 +3314,6 @@ sub print_table_entry
|
|||||||
"includes",
|
"includes",
|
||||||
"cc",
|
"cc",
|
||||||
"cflags",
|
"cflags",
|
||||||
"unistd",
|
|
||||||
"ld",
|
"ld",
|
||||||
"lflags",
|
"lflags",
|
||||||
"loutflag",
|
"loutflag",
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "internal/nelem.h"
|
#include "internal/nelem.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if !defined(OPENSSL_SYS_MSDOS)
|
#if !defined(OPENSSL_SYS_MSDOS)
|
||||||
# include OPENSSL_UNISTD
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <internal/sockets.h>
|
#include <internal/sockets.h>
|
||||||
#if !defined(OPENSSL_SYS_MSDOS)
|
#if !defined(OPENSSL_SYS_MSDOS)
|
||||||
# include OPENSSL_UNISTD
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SSL_CONNECT_NAME "localhost:4433"
|
#define SSL_CONNECT_NAME "localhost:4433"
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include <openssl/objects.h>
|
#include <openssl/objects.h>
|
||||||
#include <openssl/async.h>
|
#include <openssl/async.h>
|
||||||
#if !defined(OPENSSL_SYS_MSDOS)
|
#if !defined(OPENSSL_SYS_MSDOS)
|
||||||
# include OPENSSL_UNISTD
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
11
config
11
config
@ -349,17 +349,6 @@ if [ -d /usr/apollo ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Now NeXT
|
|
||||||
ISNEXT=`hostinfo 2>/dev/null`
|
|
||||||
case "$ISNEXT" in
|
|
||||||
*'NeXT Mach 3.3'*)
|
|
||||||
echo "whatever-next-nextstep3.3"; exit 0
|
|
||||||
;;
|
|
||||||
*NeXT*)
|
|
||||||
echo "whatever-next-nextstep"; exit 0
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# At this point we gone through all the one's
|
# At this point we gone through all the one's
|
||||||
# we know of: Punt
|
# we know of: Punt
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ int RAND_egd_bytes(const char *path, int bytes)
|
|||||||
|
|
||||||
# else
|
# else
|
||||||
|
|
||||||
# include OPENSSL_UNISTD
|
# include <unistd.h>
|
||||||
# include <stddef.h>
|
# include <stddef.h>
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
# include <sys/socket.h>
|
# include <sys/socket.h>
|
||||||
|
@ -34,11 +34,7 @@
|
|||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
|
|
||||||
# if !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VMS)
|
# if !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VMS)
|
||||||
# ifdef OPENSSL_UNISTD
|
# include <unistd.h>
|
||||||
# include OPENSSL_UNISTD
|
|
||||||
# else
|
|
||||||
# include <unistd.h>
|
|
||||||
# endif
|
|
||||||
/*
|
/*
|
||||||
* If unistd.h defines _POSIX_VERSION, we conclude that we are on a POSIX
|
* If unistd.h defines _POSIX_VERSION, we conclude that we are on a POSIX
|
||||||
* system and have sigaction and termios.
|
* system and have sigaction and termios.
|
||||||
|
@ -19,7 +19,7 @@ int OPENSSL_issetugid(void)
|
|||||||
|
|
||||||
#elif defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2) || defined(__DragonFly__)
|
#elif defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2) || defined(__DragonFly__)
|
||||||
|
|
||||||
# include OPENSSL_UNISTD
|
# include <unistd.h>
|
||||||
|
|
||||||
int OPENSSL_issetugid(void)
|
int OPENSSL_issetugid(void)
|
||||||
{
|
{
|
||||||
@ -28,7 +28,7 @@ int OPENSSL_issetugid(void)
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
# include OPENSSL_UNISTD
|
# include <unistd.h>
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
|
|
||||||
# if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
|
# if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
|
||||||
|
6
e_os.h
6
e_os.h
@ -257,11 +257,7 @@ extern FILE *_imp___iob;
|
|||||||
|
|
||||||
# else
|
# else
|
||||||
/* !defined VMS */
|
/* !defined VMS */
|
||||||
# ifdef OPENSSL_UNISTD
|
# include <unistd.h>
|
||||||
# include OPENSSL_UNISTD
|
|
||||||
# else
|
|
||||||
# include <unistd.h>
|
|
||||||
# endif
|
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
# ifdef OPENSSL_SYS_WIN32_CYGWIN
|
# ifdef OPENSSL_SYS_WIN32_CYGWIN
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
|
@ -136,15 +136,6 @@ extern "C" {
|
|||||||
* That's it for OS-specific stuff
|
* That's it for OS-specific stuff
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
/* Specials for I/O an exit */
|
|
||||||
# ifdef OPENSSL_SYS_MSDOS
|
|
||||||
# define OPENSSL_UNISTD_IO <io.h>
|
|
||||||
# define OPENSSL_DECLARE_EXIT extern void exit(int);
|
|
||||||
# else
|
|
||||||
# define OPENSSL_UNISTD_IO OPENSSL_UNISTD
|
|
||||||
# define OPENSSL_DECLARE_EXIT /* declared in unistd.h */
|
|
||||||
# endif
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* OPENSSL_EXTERN is normally used to declare a symbol with possible extra
|
* OPENSSL_EXTERN is normally used to declare a symbol with possible extra
|
||||||
* attributes to handle its presence in a shared library.
|
* attributes to handle its presence in a shared library.
|
||||||
|
@ -165,9 +165,6 @@ extern "C" {
|
|||||||
/* Generate 80386 code? */
|
/* Generate 80386 code? */
|
||||||
{- $config{processor} eq "386" ? "# define" : "# undef" -} I386_ONLY
|
{- $config{processor} eq "386" ? "# define" : "# undef" -} I386_ONLY
|
||||||
|
|
||||||
# undef OPENSSL_UNISTD
|
|
||||||
# define OPENSSL_UNISTD {- $target{unistd} -}
|
|
||||||
|
|
||||||
{- $config{export_var_as_fn} ? "# define" : "# undef" -} OPENSSL_EXPORT_VAR_AS_FUNCTION
|
{- $config{export_var_as_fn} ? "# define" : "# undef" -} OPENSSL_EXPORT_VAR_AS_FUNCTION
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
#ifdef OPENSSL_SYS_WINDOWS
|
#ifdef OPENSSL_SYS_WINDOWS
|
||||||
# include <winsock.h>
|
# include <winsock.h>
|
||||||
#else
|
#else
|
||||||
# include OPENSSL_UNISTD
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static SSL_CTX *s_ctx = NULL;
|
static SSL_CTX *s_ctx = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user