summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2018-04-19 18:43:58 +0000
committerschwarze <>2018-04-19 18:43:58 +0000
commitdc0b189f0af7e0aa3020fbab469519a0ef8f5bc5 (patch)
treefcc9f102634b08b942d8f451b29fc2485db0bf72 /src
parente84b07200dc57348118d7dc81cf94046686073da (diff)
downloadopenbsd-dc0b189f0af7e0aa3020fbab469519a0ef8f5bc5.tar.gz
openbsd-dc0b189f0af7e0aa3020fbab469519a0ef8f5bc5.tar.bz2
openbsd-dc0b189f0af7e0aa3020fbab469519a0ef8f5bc5.zip
Document the "f" callback argument that tb@ asked about.
While here, include a patch from tb@ adding the missing return type to ENGINE_ctrl() in the SYNOPSIS.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/ENGINE_ctrl.318
1 files changed, 16 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/ENGINE_ctrl.3 b/src/lib/libcrypto/man/ENGINE_ctrl.3
index 94d6dfc590..c02e9b5a94 100644
--- a/src/lib/libcrypto/man/ENGINE_ctrl.3
+++ b/src/lib/libcrypto/man/ENGINE_ctrl.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ENGINE_ctrl.3,v 1.3 2018/04/18 03:39:22 schwarze Exp $ 1.\" $OpenBSD: ENGINE_ctrl.3,v 1.4 2018/04/19 18:43:58 schwarze Exp $
2.\" content checked up to: 2.\" content checked up to:
3.\" OpenSSL ENGINE_add 1f13ad31 Dec 25 17:50:39 2017 +0800 3.\" OpenSSL ENGINE_add 1f13ad31 Dec 25 17:50:39 2017 +0800
4.\" 4.\"
@@ -16,7 +16,7 @@
16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18.\" 18.\"
19.Dd $Mdocdate: April 18 2018 $ 19.Dd $Mdocdate: April 19 2018 $
20.Dt ENGINE_CTRL 3 20.Dt ENGINE_CTRL 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -31,6 +31,7 @@
31.Nd control commands for ENGINE objects 31.Nd control commands for ENGINE objects
32.Sh SYNOPSIS 32.Sh SYNOPSIS
33.In openssl/engine.h 33.In openssl/engine.h
34.Ft int
34.Fo ENGINE_ctrl 35.Fo ENGINE_ctrl
35.Fa "ENGINE *e" 36.Fa "ENGINE *e"
36.Fa "int cmd" 37.Fa "int cmd"
@@ -243,6 +244,19 @@ Otherwise, these problems cause
243.Fn ENGINE_ctrl_cmd 244.Fn ENGINE_ctrl_cmd
244to fail. 245to fail.
245.Pp 246.Pp
247Neither
248.Fn ENGINE_ctrl
249nor
250.Fn ENGINE_ctrl_cmd
251ever call the
252.Fa f
253callback, but merely pass it on as an argument to the engine-specific
254.Fa ctrl_f
255control function.
256It is up to
257.Fa ctrl_f
258how to use it, or alternatively to ignore it as well.
259.Pp
246.Fn ENGINE_ctrl_cmd_string 260.Fn ENGINE_ctrl_cmd_string
247translates the 261translates the
248.Fa cmd_name 262.Fa cmd_name