diff options
author | Richard Levitte <levitte@openssl.org> | 2017-05-11 20:34:08 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-05-11 22:31:36 +0200 |
commit | 17bbc10a08b4f133d12d17f84801c5355aa1f526 (patch) | |
tree | 3025eaac6b8ecbbcff72d0125e56653138f48b6c /crypto | |
parent | 94225cf59ec50e356e2c090bcbe76e1635e6d565 (diff) |
Clean away needless VMS check
BIO_socket_ioctl is only implemented on VMS for VMS version 7.0 and
up, but since we only support version 7.1 and up, there's no need to
check the VMS version.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3448)
(cherry picked from commit b57f0c598bde43e147a886c9ffb0d6fdb3141d72)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bio/b_sock.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index ac2c2d161b..97dcc7005e 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -167,8 +167,6 @@ void bio_sock_cleanup_int(void) # endif } -# if !defined(OPENSSL_SYS_VMS) || __VMS_VER >= 70000000 - int BIO_socket_ioctl(int fd, long type, void *arg) { int i; @@ -206,7 +204,6 @@ int BIO_socket_ioctl(int fd, long type, void *arg) SYSerr(SYS_F_IOCTLSOCKET, get_last_socket_error()); return (i); } -# endif /* __VMS_VER */ # if OPENSSL_API_COMPAT < 0x10100000L int BIO_get_accept_socket(char *host, int bind_mode) |