Loading crypto/bio/bss_fd.c +7 −2 Original line number Diff line number Diff line Loading @@ -56,12 +56,17 @@ * [including the GNU Public Licence.] */ #if !defined(_WIN32_WCE) #include <stdio.h> #include <errno.h> #define USE_SOCKETS #include "cryptlib.h" #if defined(OPENSSL_NO_POSIX_IO) /* * One can argue that one should implement dummy placeholder for * BIO_s_fd here... */ #else /* * As for unconditional usage of "UPLINK" interface in this module. * Trouble is that unlike Unix file descriptors [which are indexes Loading crypto/des/enc_read.c +4 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,9 @@ OPENSSL_IMPLEMENT_GLOBAL(int,DES_rw_mode)=DES_PCBC_MODE; int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, DES_cblock *iv) { #if defined(OPENSSL_NO_POSIX_IO) return(0); #else /* data to be unencrypted */ int net_num=0; static unsigned char *net=NULL; Loading Loading @@ -224,5 +227,6 @@ int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, } } return num; #endif /* OPENSSL_NO_POSIX_IO */ } crypto/des/enc_writ.c +4 −0 Original line number Diff line number Diff line Loading @@ -80,6 +80,9 @@ int DES_enc_write(int fd, const void *_buf, int len, DES_key_schedule *sched, DES_cblock *iv) { #if defined(OPENSSL_NO_POSIX_IO) return (-1); #else #ifdef _LIBC extern unsigned long time(); extern int write(); Loading Loading @@ -168,4 +171,5 @@ int DES_enc_write(int fd, const void *_buf, int len, } return(len); #endif /* OPENSSL_NO_POSIX_IO */ } Loading
crypto/bio/bss_fd.c +7 −2 Original line number Diff line number Diff line Loading @@ -56,12 +56,17 @@ * [including the GNU Public Licence.] */ #if !defined(_WIN32_WCE) #include <stdio.h> #include <errno.h> #define USE_SOCKETS #include "cryptlib.h" #if defined(OPENSSL_NO_POSIX_IO) /* * One can argue that one should implement dummy placeholder for * BIO_s_fd here... */ #else /* * As for unconditional usage of "UPLINK" interface in this module. * Trouble is that unlike Unix file descriptors [which are indexes Loading
crypto/des/enc_read.c +4 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,9 @@ OPENSSL_IMPLEMENT_GLOBAL(int,DES_rw_mode)=DES_PCBC_MODE; int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, DES_cblock *iv) { #if defined(OPENSSL_NO_POSIX_IO) return(0); #else /* data to be unencrypted */ int net_num=0; static unsigned char *net=NULL; Loading Loading @@ -224,5 +227,6 @@ int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, } } return num; #endif /* OPENSSL_NO_POSIX_IO */ }
crypto/des/enc_writ.c +4 −0 Original line number Diff line number Diff line Loading @@ -80,6 +80,9 @@ int DES_enc_write(int fd, const void *_buf, int len, DES_key_schedule *sched, DES_cblock *iv) { #if defined(OPENSSL_NO_POSIX_IO) return (-1); #else #ifdef _LIBC extern unsigned long time(); extern int write(); Loading Loading @@ -168,4 +171,5 @@ int DES_enc_write(int fd, const void *_buf, int len, } return(len); #endif /* OPENSSL_NO_POSIX_IO */ }