mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
d4fdffc9c3 | 6 years ago | |
---|---|---|
.. | ||
include | 6 years ago | |
.gitignore | 6 years ago | |
COPYING | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
base64enc.c | 6 years ago | |
cacerts.c | 6 years ago | |
internal.c | 6 years ago | |
internal.h | 6 years ago | |
libhttp.c | 6 years ago | |
libhttp.h | 6 years ago | |
miniz.c | 6 years ago | |
uri.c | 6 years ago | |
zpipe.c | 6 years ago |
README.md
liblokiweb (libhttp)
Building
requirements
- mbedtls 2.13.0 or later, for both host and target (if cross-compiling)
- wget for host (to download Netscape root certificate store from cURL website)
- Also included is a patch that can be applied to the mbedtls source to enable features like AES-NI in protected mode, plus some networking fixes for win32, see
../contrib/lokinet-bootstrap-winnt/mbedtls-win32.patch
build:
$ make prepare; make libhttp.[so|dll]
Useful build-time variables
- INCLUDE: path to mbedtls headers
- LIBS: path to mbedtls libraries
- SYS_LIBS: system-specific link libraries (
-lsocket -lnsl
on Sun systems,-lws2_32
[or-lwsock32
if IPv6 is disabled] on Windows)
Usage
- include libhttp.h in your source
- link against libhttp.[so|dll]
-rick