Remove some crap

Add compatiblity for older uclibc versions
This commit is contained in:
Steven Barth 2009-02-22 23:37:35 +00:00
parent d730c12633
commit 06450d3fe3
6 changed files with 12 additions and 51 deletions

Binary file not shown.

View file

@ -1 +0,0 @@
libaxtls.so.1.2

View file

@ -1,19 +0,0 @@
aes.o: aes.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
bigint.h
bigint.o: bigint.c bigint.h crypto.h ../config/config.h ../ssl/os_port.h \
bigint_impl.h
crypto_misc.o: crypto_misc.c ../ssl/crypto_misc.h ../crypto/crypto.h \
../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
../crypto/bigint.h ../crypto/crypto.h ../crypto/bigint.h
hmac.o: hmac.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
bigint.h
md2.o: md2.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
bigint.h
md5.o: md5.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
bigint.h
rc4.o: rc4.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
bigint.h
rsa.o: rsa.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
bigint.h
sha1.o: sha1.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
bigint.h

View file

@ -1,31 +0,0 @@
asn1.o: asn1.c os_port.h ../crypto/crypto.h ../config/config.h \
../ssl/os_port.h ../crypto/bigint_impl.h ../crypto/bigint.h \
../crypto/crypto.h crypto_misc.h ../crypto/bigint.h
gen_cert.o: gen_cert.c ../config/config.h ssl.h tls1.h version.h \
../crypto/crypto.h ../ssl/os_port.h ../crypto/bigint_impl.h \
../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \
../crypto/bigint.h
loader.o: loader.c ssl.h tls1.h version.h ../crypto/crypto.h \
../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \
../crypto/bigint.h private_key.h
openssl.o: openssl.c ../config/config.h
os_port.o: os_port.c os_port.h
p12.o: p12.c ssl.h tls1.h version.h ../crypto/crypto.h ../config/config.h \
../ssl/os_port.h ../crypto/bigint_impl.h ../crypto/bigint.h \
../crypto/crypto.h os_port.h crypto_misc.h ../crypto/bigint.h
tls1.o: tls1.c ssl.h tls1.h version.h ../crypto/crypto.h \
../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \
../crypto/bigint.h
tls1_clnt.o: tls1_clnt.c ssl.h tls1.h version.h ../crypto/crypto.h \
../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \
../crypto/bigint.h
tls1_svr.o: tls1_svr.c ssl.h tls1.h version.h ../crypto/crypto.h \
../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \
../crypto/bigint.h
x509.o: x509.c os_port.h crypto_misc.h ../crypto/crypto.h \
../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
../crypto/bigint.h ../crypto/crypto.h ../crypto/bigint.h

View file

@ -25,10 +25,22 @@
/* guess what sucks... */
#ifdef __UCLIBC__
#include <unistd.h>
#include <errno.h>
#include <sys/syscall.h>
ssize_t splice(int __fdin, __off64_t *__offin, int __fdout,
__off64_t *__offout, size_t __len, unsigned int __flags) {
#ifdef __NR_splice
return syscall(__NR_splice, __fdin, __offin, __fdout, __offout, __len, __flags);
#else
(void)__fdin;
(void)__offin;
(void)__fdout;
(void)__offout;
(void)__len;
(void)__flags;
errno = ENOSYS;
return -1;
#endif
}
#endif /* __UCLIBC__ */