Skip to content

Commit

Permalink
Clean away needless VMS check
Browse files Browse the repository at this point in the history
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 #3448)
  • Loading branch information
levitte committed May 11, 2017
1 parent 74a011e commit b57f0c5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crypto/bio/b_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit b57f0c5

Please sign in to comment.