Commit 155455a
Bind helper methods in engine_ctrl() only for OpenSSL versions older than 3.0.
With OpenSSL 3.x, an engine might be used if defined in `openssl.cnf`.
This causes memory leaks when engine control commands are set in the config file.
For OpenSSL 3.0 and newer, add engine routines only after loading keys.1 parent 715695d commit 155455a
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
205 | 206 | | |
| 207 | + | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
| |||
0 commit comments