diff options
author | tedu <> | 2014-04-17 22:23:27 +0000 |
---|---|---|
committer | tedu <> | 2014-04-17 22:23:27 +0000 |
commit | 750723d995eaa75bcee4b0391acd1847a464e058 (patch) | |
tree | 15234795beafed7f6d2093d34888d19f102d2cf1 /src | |
parent | 3bd2be6a216cb902461209117b8430ffa01454c6 (diff) | |
download | openbsd-750723d995eaa75bcee4b0391acd1847a464e058.tar.gz openbsd-750723d995eaa75bcee4b0391acd1847a464e058.tar.bz2 openbsd-750723d995eaa75bcee4b0391acd1847a464e058.zip |
don't fake up SSIZE_MAX
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/bio/bss_bio.c | 8 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/bio/bss_bio.c | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/lib/libcrypto/bio/bss_bio.c b/src/lib/libcrypto/bio/bss_bio.c index 33a0709aaf..27faaa211c 100644 --- a/src/lib/libcrypto/bio/bss_bio.c +++ b/src/lib/libcrypto/bio/bss_bio.c | |||
@@ -85,14 +85,6 @@ | |||
85 | 85 | ||
86 | #include "e_os.h" | 86 | #include "e_os.h" |
87 | 87 | ||
88 | /* VxWorks defines SSIZE_MAX with an empty value causing compile errors */ | ||
89 | #if defined(OPENSSL_SYS_VXWORKS) | ||
90 | # undef SSIZE_MAX | ||
91 | #endif | ||
92 | #ifndef SSIZE_MAX | ||
93 | # define SSIZE_MAX INT_MAX | ||
94 | #endif | ||
95 | |||
96 | static int bio_new(BIO *bio); | 88 | static int bio_new(BIO *bio); |
97 | static int bio_free(BIO *bio); | 89 | static int bio_free(BIO *bio); |
98 | static int bio_read(BIO *bio, char *buf, int size); | 90 | static int bio_read(BIO *bio, char *buf, int size); |
diff --git a/src/lib/libssl/src/crypto/bio/bss_bio.c b/src/lib/libssl/src/crypto/bio/bss_bio.c index 33a0709aaf..27faaa211c 100644 --- a/src/lib/libssl/src/crypto/bio/bss_bio.c +++ b/src/lib/libssl/src/crypto/bio/bss_bio.c | |||
@@ -85,14 +85,6 @@ | |||
85 | 85 | ||
86 | #include "e_os.h" | 86 | #include "e_os.h" |
87 | 87 | ||
88 | /* VxWorks defines SSIZE_MAX with an empty value causing compile errors */ | ||
89 | #if defined(OPENSSL_SYS_VXWORKS) | ||
90 | # undef SSIZE_MAX | ||
91 | #endif | ||
92 | #ifndef SSIZE_MAX | ||
93 | # define SSIZE_MAX INT_MAX | ||
94 | #endif | ||
95 | |||
96 | static int bio_new(BIO *bio); | 88 | static int bio_new(BIO *bio); |
97 | static int bio_free(BIO *bio); | 89 | static int bio_free(BIO *bio); |
98 | static int bio_read(BIO *bio, char *buf, int size); | 90 | static int bio_read(BIO *bio, char *buf, int size); |