You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add `--enable-pwdbased` to the configure command above if PKCS#12 is used in OpenSSL.
84
+
Add `--enable-pwdbased` to the configure command above if using PKCS#12.
67
85
68
-
Remove `-DWOLFSSL_PSS_LONG_SALT -DWOLFSSL_PSS_SALT_LEN_DISCOVER` and add `--enable-fips=v2` to the configure command above if building from a FIPS v2 bundle and not the git repository. Change `--enable-fips=v2` to `--enable-fips=ready` if using a FIPS Ready bundle.
86
+
Remove `-DWOLFSSL_PSS_LONG_SALT -DWOLFSSL_PSS_SALT_LEN_DISCOVER` and add
87
+
`--enable-fips=v2` to the configure command above if building from a FIPS v2
88
+
bundle and not the git repository. Change `--enable-fips=v2` to
89
+
`--enable-fips=ready` if using a FIPS Ready bundle.
wolfssl/installation/lib:$LD_LIBRARY_PATH` and re-run `make check`.
79
106
80
-
```
81
-
./configure --with-openssl=/usr/local/ssl
82
-
make
83
-
export LD_LIBRARY_PATH=/usr/local/ssl/lib
84
-
make check
85
-
```
107
+
#### Customizing
86
108
87
-
* To build wolfEngine in single-threaded mode, add `--enable-singlethreaded` to the configure command.
88
-
* To build wolfEngine with PBES support (used with PKCS #12), add `--enable-pbe`. Note: wolfSSL must have been configured with `--enable-pwdbased`.
89
-
* To disable support for loading wolfEngine dynamically, add `--disable-dynamic-engine`.
109
+
* To build wolfEngine in single-threaded mode, add `--enable-singlethreaded` to
110
+
the configure command.
111
+
* To build wolfEngine with PBES support (used with PKCS #12), add
112
+
`--enable-pbe`. Note: wolfSSL must have been configured with
113
+
`--enable-pwdbased`.
114
+
* To disable support for loading wolfEngine dynamically, add
115
+
`--disable-dynamic-engine`.
90
116
* To build a static version of wolfEngine, add `--enable-static`.
91
-
* To use a custom user_settings.h file to override the defines produced by `./configure`, add `--enable-usersettings` and place a user_settings.h file with the defines you want in the include directory. See the root of the project for an example user_settings.h.
92
-
* To build wolfEngine with debug support, add `--enable-debug`. Then, to activate the debug logging at runtime, your application should send this control command to wolfEngine (denoted "e" here): `ENGINE_ctrl_cmd(e, "enable_debug", 1, NULL, NULL, 0)`.
93
-
94
-
## Testing on *nix Systems
117
+
* To use a custom user_settings.h file to override the defines produced by
118
+
`./configure`, add `--enable-usersettings` and place a user_settings.h file with
119
+
the defines you want in the include directory. See the root of the project for
120
+
an example user_settings.h.
121
+
* To build wolfEngine with debug support, add `--enable-debug`. Then, to
122
+
activate the debug logging at runtime, your application should send this control
123
+
command to wolfEngine (denoted "e" here): `ENGINE_ctrl_cmd(e, "enable_debug", 1,
124
+
NULL, NULL, 0)`.
125
+
* To build wolfEngine for use with OpenSSH, add `--enable-openssh`.
126
+
127
+
## Testing on \*nix
95
128
96
129
### Unit Tests
97
-
To run automated unit tests:
98
130
99
-
*`make test`
131
+
Run the unit tests with `make check`.
100
132
101
-
If you get an error like `error while loading shared libraries: libssl.so.3` then the library cannot be found. Use the `LD_LIBRARY_PATH` environment variable as described in the section above.
133
+
If you get an error like `error while loading shared libraries: libssl.so.3`
134
+
then the library cannot be found. Use the `LD_LIBRARY_PATH` environment variable
135
+
as described earlier.
102
136
103
137
### Integration Tests
104
-
There are no automated integration tests, yet.
138
+
See the scripts directory for integration tests with other applications (e.g.
139
+
OpenSSH, stunnel, etc.).
105
140
106
141
## Building on Windows
107
142
@@ -115,25 +150,27 @@ expects the following directory structure:
115
150
└── wolfssl
116
151
```
117
152
118
-
### Building OpenSSL
153
+
### OpenSSL
119
154
120
-
Follow the instructions in the OpenSSL `INSTALL` file. The list of commands to run are:
155
+
Follow the instructions in the OpenSSL `INSTALL` file. The list of commands to
0 commit comments