summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-04-17 22:23:27 +0000
committertedu <tedu@openbsd.org>2014-04-17 22:23:27 +0000
commit8897e1de2cb8986e6f5f6bc985d1096a99427dc8 (patch)
tree21f1d914d59653c40b5fe818388d180b93eacaf3 /lib/libssl/src
parentmore windows/netware leftovers (diff)
downloadwireguard-openbsd-8897e1de2cb8986e6f5f6bc985d1096a99427dc8.tar.xz
wireguard-openbsd-8897e1de2cb8986e6f5f6bc985d1096a99427dc8.zip
don't fake up SSIZE_MAX
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/crypto/bio/bss_bio.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libssl/src/crypto/bio/bss_bio.c b/lib/libssl/src/crypto/bio/bss_bio.c
index 33a0709aaf2..27faaa211c1 100644
--- a/lib/libssl/src/crypto/bio/bss_bio.c
+++ b/lib/libssl/src/crypto/bio/bss_bio.c
@@ -85,14 +85,6 @@
#include "e_os.h"
-/* VxWorks defines SSIZE_MAX with an empty value causing compile errors */
-#if defined(OPENSSL_SYS_VXWORKS)
-# undef SSIZE_MAX
-#endif
-#ifndef SSIZE_MAX
-# define SSIZE_MAX INT_MAX
-#endif
-
static int bio_new(BIO *bio);
static int bio_free(BIO *bio);
static int bio_read(BIO *bio, char *buf, int size);