summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_sock.c
diff options
context:
space:
mode:
authordjm <>2008-09-06 12:17:54 +0000
committerdjm <>2008-09-06 12:17:54 +0000
commit38ce604e3cc97706b876b0525ddff0121115456d (patch)
tree7ccc28afe1789ea3dbedf72365f955d5b8e105b5 /src/lib/libcrypto/bio/bss_sock.c
parent12867252827c8efaa8ddd1fa3b3d6e321e2bcdef (diff)
downloadopenbsd-38ce604e3cc97706b876b0525ddff0121115456d.tar.gz
openbsd-38ce604e3cc97706b876b0525ddff0121115456d.tar.bz2
openbsd-38ce604e3cc97706b876b0525ddff0121115456d.zip
resolve conflicts
Diffstat (limited to 'src/lib/libcrypto/bio/bss_sock.c')
-rw-r--r--src/lib/libcrypto/bio/bss_sock.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libcrypto/bio/bss_sock.c b/src/lib/libcrypto/bio/bss_sock.c
index 2c1c405ec7..472dd75821 100644
--- a/src/lib/libcrypto/bio/bss_sock.c
+++ b/src/lib/libcrypto/bio/bss_sock.c
@@ -56,8 +56,6 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#ifndef OPENSSL_NO_SOCK
60
61#include <stdio.h> 59#include <stdio.h>
62#include <errno.h> 60#include <errno.h>
63#define USE_SOCKETS 61#define USE_SOCKETS
@@ -248,7 +246,7 @@ int BIO_sock_non_fatal_error(int err)
248 { 246 {
249 switch (err) 247 switch (err)
250 { 248 {
251#if defined(OPENSSL_SYS_WINDOWS) 249#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_NETWARE)
252# if defined(WSAEWOULDBLOCK) 250# if defined(WSAEWOULDBLOCK)
253 case WSAEWOULDBLOCK: 251 case WSAEWOULDBLOCK:
254# endif 252# endif
@@ -279,7 +277,7 @@ int BIO_sock_non_fatal_error(int err)
279#endif 277#endif
280 278
281#ifdef EAGAIN 279#ifdef EAGAIN
282#if EWOULDBLOCK != EAGAIN 280# if EWOULDBLOCK != EAGAIN
283 case EAGAIN: 281 case EAGAIN:
284# endif 282# endif
285#endif 283#endif
@@ -302,4 +300,3 @@ int BIO_sock_non_fatal_error(int err)
302 } 300 }
303 return(0); 301 return(0);
304 } 302 }
305#endif