diff options
author | Rich Salz <rsalz@openssl.org> | 2014-12-21 23:18:02 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2014-12-21 23:18:02 -0500 |
commit | f2319414445ef5991d77c015af86276d84b9fec1 (patch) | |
tree | 9f041424967be387e308d4be9dcdeb5eed43b688 /crypto | |
parent | 2521fcd8527008ceb3e4748f95b0ed4e2d70cfef (diff) | |
download | openssl-f2319414445ef5991d77c015af86276d84b9fec1.tar.gz |
RT3548: Remvoe unsupported platforms
This commit removes SunOS (a sentimental favorite of mine).
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/dso/dso_dlfcn.c | 6 | ||||
-rw-r--r-- | crypto/o_time.c | 2 | ||||
-rw-r--r-- | crypto/ocsp/ocsp_ht.c | 3 | ||||
-rw-r--r-- | crypto/ui/ui_openssl.c | 6 |
4 files changed, 3 insertions, 14 deletions
diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index 4a56aace0e..0135cc1cd3 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -153,11 +153,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void) # endif # endif #else -# ifdef OPENSSL_SYS_SUNOS -# define DLOPEN_FLAG 1 -# else -# define DLOPEN_FLAG RTLD_NOW /* Hope this works everywhere else */ -# endif +# define DLOPEN_FLAG RTLD_NOW /* Hope this works everywhere else */ #endif /* For this DSO_METHOD, our meth_data STACK will contain; diff --git a/crypto/o_time.c b/crypto/o_time.c index 84aa5c39fc..362e9e71dc 100644 --- a/crypto/o_time.c +++ b/crypto/o_time.c @@ -82,7 +82,7 @@ struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) { struct tm *ts = NULL; -#if defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32) && !defined(OPENSSL_SYS_OS2) && (!defined(OPENSSL_SYS_VMS) || defined(gmtime_r)) && !defined(OPENSSL_SYS_MACOSX) && !defined(OPENSSL_SYS_SUNOS) +#if defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32) && !defined(OPENSSL_SYS_OS2) && (!defined(OPENSSL_SYS_VMS) || defined(gmtime_r)) && !defined(OPENSSL_SYS_MACOSX) /* should return &data, but doesn't on some systems, so we don't even look at the return value */ gmtime_r(timer,result); diff --git a/crypto/ocsp/ocsp_ht.c b/crypto/ocsp/ocsp_ht.c index bac35f8de1..268f575bb0 100644 --- a/crypto/ocsp/ocsp_ht.c +++ b/crypto/ocsp/ocsp_ht.c @@ -65,9 +65,6 @@ #include <openssl/ocsp.h> #include <openssl/err.h> #include <openssl/buffer.h> -#ifdef OPENSSL_SYS_SUNOS -#define strtoul (unsigned long)strtol -#endif /* OPENSSL_SYS_SUNOS */ /* Stateful OCSP request code, supporting non-blocking I/O */ diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c index 46128fec0e..9ec8883b39 100644 --- a/crypto/ui/ui_openssl.c +++ b/crypto/ui/ui_openssl.c @@ -244,7 +244,7 @@ # define TTY_set(tty,data) ioctl(tty,TIOCSETP,data) #endif -#if !defined(_LIBC) && !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VMS) && !defined(OPENSSL_SYS_SUNOS) +#if !defined(_LIBC) && !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VMS) # include <sys/ioctl.h> #endif @@ -264,10 +264,6 @@ struct IOSB { }; #endif -#ifdef OPENSSL_SYS_SUNOS - typedef int sig_atomic_t; -#endif - #if defined(MAC_OS_GUSI_SOURCE) || defined(OPENSSL_SYS_NETWARE) /* * This one needs work. As a matter of fact the code is unoperational |