~ubuntu-branches/ubuntu/hardy/openssl/hardy-security

« back to all changes in this revision

Viewing changes to crypto/bio/bss_sock.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2005-12-13 21:37:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051213213742-7em5nrw5c7ceegyd
Tags: 0.9.8a-5
Stop ssh from crashing randomly on sparc (Closes: #335912)
Patch from upstream cvs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 * [including the GNU Public Licence.]
57
57
 */
58
58
 
59
 
#ifndef OPENSSL_NO_SOCK
60
 
 
61
59
#include <stdio.h>
62
60
#include <errno.h>
63
61
#define USE_SOCKETS
248
246
        {
249
247
        switch (err)
250
248
                {
251
 
#if defined(OPENSSL_SYS_WINDOWS)
 
249
#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_NETWARE)
252
250
# if defined(WSAEWOULDBLOCK)
253
251
        case WSAEWOULDBLOCK:
254
252
# endif
279
277
#endif
280
278
 
281
279
#ifdef EAGAIN
282
 
#if EWOULDBLOCK != EAGAIN
 
280
# if EWOULDBLOCK != EAGAIN
283
281
        case EAGAIN:
284
282
# endif
285
283
#endif
302
300
                }
303
301
        return(0);
304
302
        }
305
 
#endif