2022-04-13 15:35:06 +02:00
|
|
|
LuaSec 1.1.0
|
2012-09-02 16:27:04 +02:00
|
|
|
------------
|
2012-09-02 16:15:49 +02:00
|
|
|
|
2014-01-29 21:43:33 +01:00
|
|
|
* OpenSSL options:
|
|
|
|
|
2021-08-14 15:16:35 +02:00
|
|
|
By default, this version includes options for OpenSSL 3.0.0 beta2
|
2014-01-29 21:43:33 +01:00
|
|
|
|
|
|
|
If you need to generate the options for a different version of OpenSSL:
|
|
|
|
|
|
|
|
$ cd src
|
2019-10-09 19:49:58 +02:00
|
|
|
$ lua options.lua -g /usr/include/openssl/ssl.h > options.c
|
2014-01-29 21:43:33 +01:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2012-09-02 16:15:49 +02:00
|
|
|
* On Linux, BSD, and Mac OS X:
|
|
|
|
|
|
|
|
- Edit 'Makefile'
|
2012-09-02 16:32:26 +02:00
|
|
|
* Inform the path to where install the Lua modules (LUAPATH) and binaries
|
|
|
|
modules (LUACPATH)
|
2012-09-02 16:15:49 +02:00
|
|
|
* If Lua or OpenSSL are not in the default path, set the
|
|
|
|
variables INCDIR and LIBDIR.
|
|
|
|
* For Mac OS X, set the variable MACOSX_VERSION.
|
|
|
|
|
|
|
|
- Use 'make <platform>' to compile
|
|
|
|
* Platforms: linux, bsd, or macosx
|
|
|
|
|
|
|
|
- Use 'make install' to install the modules.
|
|
|
|
|
2014-01-29 21:43:33 +01:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2012-09-02 16:15:49 +02:00
|
|
|
* On Windows:
|
|
|
|
|
|
|
|
- Use the Visual C++ project to compile the library.
|
|
|
|
|
|
|
|
- Copy the 'ssl.lua' file to some place in your LUA_PATH.
|
|
|
|
|
|
|
|
- Copy the 'ssl.dll' file to some place in your LUA_CPATH.
|
2012-09-02 16:32:26 +02:00
|
|
|
|
|
|
|
- Create a directory 'ssl' in your LUA_PATH and copy 'https.lua' to it.
|