Deleted Added
full compact
enc_writ.c (194206) enc_writ.c (238405)
1/* crypto/des/enc_writ.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 66 unchanged lines hidden (view full) ---

75 * not want to use them anyway).
76 *
77 * - This code cannot handle non-blocking sockets.
78 */
79
80int DES_enc_write(int fd, const void *_buf, int len,
81 DES_key_schedule *sched, DES_cblock *iv)
82 {
1/* crypto/des/enc_writ.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 66 unchanged lines hidden (view full) ---

75 * not want to use them anyway).
76 *
77 * - This code cannot handle non-blocking sockets.
78 */
79
80int DES_enc_write(int fd, const void *_buf, int len,
81 DES_key_schedule *sched, DES_cblock *iv)
82 {
83#if defined(OPENSSL_NO_POSIX_IO)
84 return (-1);
85#else
83#ifdef _LIBC
84 extern unsigned long time();
85 extern int write();
86#endif
87 const unsigned char *buf=_buf;
88 long rnum;
89 int i,j,k,outnum;
90 static unsigned char *outbuf=NULL;

--- 76 unchanged lines hidden (view full) ---

167#endif
168 /* This is really a bad error - very bad
169 * It will stuff-up both ends. */
170 return(-1);
171 }
172 }
173
174 return(len);
86#ifdef _LIBC
87 extern unsigned long time();
88 extern int write();
89#endif
90 const unsigned char *buf=_buf;
91 long rnum;
92 int i,j,k,outnum;
93 static unsigned char *outbuf=NULL;

--- 76 unchanged lines hidden (view full) ---

170#endif
171 /* This is really a bad error - very bad
172 * It will stuff-up both ends. */
173 return(-1);
174 }
175 }
176
177 return(len);
178#endif /* OPENSSL_NO_POSIX_IO */
175 }
179 }