Update WolfSSL library to the latest version.

This commit is contained in:
Richard Barry 2015-08-28 13:46:22 +00:00
parent 8af1ad9bac
commit 5a6242fbd0
443 changed files with 70230 additions and 45414 deletions

View file

@ -2,7 +2,7 @@
Initial swig interface file
Please send questions to support@yassl.com
Please send questions to support@wolfssl.com
@ -10,26 +10,26 @@ Please send questions to support@yassl.com
For Linux, OS X, or *nix
1) build CyaSSL with fpic on Linux, not needed on OS X
1) build wolfSSL with fpic on Linux, not needed on OS X
./configure --disable-shared CFLAGS=-fpic
make
sudo make install
2) start the example echoserver from the examples/echoserver directory
./echoserver
2) start the example server from the root directory
./examples/server/server -d
3) run ./PtyonBuild.sh from this directory it will
3) run ./PythonBuild.sh from this directory it will
a) build the swig wrapper file
b) compile the swig wrapper and cyassl wrapper files
c) place them into a cyassl shared library for python
d) run runme.py which will connect to the CyaSSL echo server, write a
b) compile the swig wrapper and wolfssl wrapper files
c) place them into a wolfssl shared library for python
d) run runme.py which will connect to the wolfSSL server, write a
string, then read the result and output it
Windows only
Windows only
1) Make sure the install path to cyassl doesn't have any spaces anywhere in the
1) Make sure the install path to wolfssl doesn't have any spaces anywhere in the
directory path because swig doesn't like that
2) Have python for Windows installed, note install directory
3) Have swigwin installed, note install directory
@ -37,8 +37,8 @@ Please send questions to support@yassl.com
5) Make sure env. variables PYTHON_INCLUDE and PYTHON_LIB are set correctly e.g.
PYTHON_INCLUE="c:\Python26\include"
PYTHON_LIB="c:\Python26\libs\python26.lib"
6) Build python_cyassl in Release mode only, Debug build fails to find a debug
6) Build python_wolfssl in Release mode only, Debug build fails to find a debug
python library that isn't included by default
7) The outputs _cyassl.pyd and cyassl.py are the cyassl import library
8) Can now run python runme.py from the swig directory
7) The outputs _wolfssl.pyd and wolfssl.py are the wolfssl import library
8) Can now run python runme.py from the swig directory