| 1 |
LuaSec 1.3.2 |
| 2 |
------------ |
| 3 |
|
| 4 |
* OpenSSL options: |
| 5 |
|
| 6 |
By default, this version includes options for OpenSSL 3.0.8 |
| 7 |
|
| 8 |
If you need to generate the options for a different version of OpenSSL: |
| 9 |
|
| 10 |
$ cd src |
| 11 |
$ lua options.lua -g /usr/include/openssl/ssl.h > options.c |
| 12 |
|
| 13 |
-------------------------------------------------------------------------------- |
| 14 |
|
| 15 |
* On Linux, BSD, and Mac OS X: |
| 16 |
|
| 17 |
- Edit 'Makefile' |
| 18 |
* Inform the path to where install the Lua modules (LUAPATH) and binaries |
| 19 |
modules (LUACPATH) |
| 20 |
* If Lua or OpenSSL are not in the default path, set the |
| 21 |
variables INCDIR and LIBDIR. |
| 22 |
* For Mac OS X, set the variable MACOSX_VERSION. |
| 23 |
|
| 24 |
- Use 'make <platform>' to compile |
| 25 |
* Platforms: linux, bsd, or macosx |
| 26 |
|
| 27 |
- Use 'make install' to install the modules. |
| 28 |
|
| 29 |
-------------------------------------------------------------------------------- |
| 30 |
|
| 31 |
* On Windows: |
| 32 |
|
| 33 |
- Use the Visual C++ project to compile the library. |
| 34 |
|
| 35 |
- Copy the 'ssl.lua' file to some place in your LUA_PATH. |
| 36 |
|
| 37 |
- Copy the 'ssl.dll' file to some place in your LUA_CPATH. |
| 38 |
|
| 39 |
- Create a directory 'ssl' in your LUA_PATH and copy 'https.lua' to it. |