aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bio/bss_sock.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2014-08-09 08:02:20 -0400
committerRich Salz <rsalz@akamai.com>2014-08-09 08:02:20 -0400
commitf642ebc1e2dca34bc2b3c46796c131e1f5077bee (patch)
treea8f54bb26068ebd4bf5a1ef4684ab98758cebc4f /crypto/bio/bss_sock.c
parent693b71fa719598a487165918cbbc0f7f62816c83 (diff)
downloadopenssl-f642ebc1e2dca34bc2b3c46796c131e1f5077bee.tar.gz
Undo a90081576c94f9f54de1755188a00ccc1760549a
Undo unapproved commit that removed DJGPP and WATT32
Diffstat (limited to 'crypto/bio/bss_sock.c')
-rw-r--r--crypto/bio/bss_sock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/bio/bss_sock.c b/crypto/bio/bss_sock.c
index 4e1b3d5fa1..3df31938c1 100644
--- a/crypto/bio/bss_sock.c
+++ b/crypto/bio/bss_sock.c
@@ -65,6 +65,12 @@
#include <openssl/bio.h>
+#ifdef WATT32
+#define sock_write SockWrite /* Watt-32 uses same names */
+#define sock_read SockRead
+#define sock_puts SockPuts
+#endif
+
static int sock_write(BIO *h, const char *buf, int num);
static int sock_read(BIO *h, char *buf, int size);
static int sock_puts(BIO *h, const char *str);