diff options
| author | djm <> | 2008-09-06 12:15:56 +0000 |
|---|---|---|
| committer | djm <> | 2008-09-06 12:15:56 +0000 |
| commit | 5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80 (patch) | |
| tree | aba68249883aa9d2361d92eef69a81d0c4961732 /src/lib/libcrypto/bio/bss_sock.c | |
| parent | f6198d4d0ab97685dc56be2d48715ed39fcc74b9 (diff) | |
| download | openbsd-5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80.tar.gz openbsd-5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80.tar.bz2 openbsd-5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80.zip | |
import of OpenSSL 0.9.8h
Diffstat (limited to 'src/lib/libcrypto/bio/bss_sock.c')
| -rw-r--r-- | src/lib/libcrypto/bio/bss_sock.c | 7 |
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 | ||
