summaryrefslogtreecommitdiff
path: root/src/lib/libssl/doc/SSL_rstate_string.3
diff options
context:
space:
mode:
authorbentley <>2014-10-12 09:33:04 +0000
committerbentley <>2014-10-12 09:33:04 +0000
commit82b7f378b6907ab315a6e50322d2a0a8794a0aa9 (patch)
treea5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_rstate_string.3
parent0a63f0cf49369e1926567ab62e04e3355cedf0cd (diff)
downloadopenbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.tar.gz
openbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.tar.bz2
openbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.zip
Convert libssl manpages from pod to mdoc(7).
libcrypto has not been started yet. ok schwarze@ miod@
Diffstat (limited to 'src/lib/libssl/doc/SSL_rstate_string.3')
-rw-r--r--src/lib/libssl/doc/SSL_rstate_string.352
1 files changed, 52 insertions, 0 deletions
diff --git a/src/lib/libssl/doc/SSL_rstate_string.3 b/src/lib/libssl/doc/SSL_rstate_string.3
new file mode 100644
index 0000000000..77fcd06eac
--- /dev/null
+++ b/src/lib/libssl/doc/SSL_rstate_string.3
@@ -0,0 +1,52 @@
1.Dd $Mdocdate: October 12 2014 $
2.Dt SSL_RSTATE_STRING 3
3.Os
4.Sh NAME
5.Nm SSL_rstate_string ,
6.Nm SSL_rstate_string_long
7.Nd get textual description of state of an SSL object during read operation
8.Sh SYNOPSIS
9.In openssl/ssl.h
10.Ft const char *
11.Fn SSL_rstate_string "SSL *ssl"
12.Ft const char *
13.Fn SSL_rstate_string_long "SSL *ssl"
14.Sh DESCRIPTION
15.Fn SSL_rstate_string
16returns a 2-letter string indicating the current read state of the
17.Vt SSL
18object
19.Fa ssl .
20.Pp
21.Fn SSL_rstate_string_long
22returns a string indicating the current read state of the
23.Vt SSL
24object
25.Fa ssl .
26.Sh NOTES
27When performing a read operation, the SSL/TLS engine must parse the record,
28consisting of header and body.
29When working in a blocking environment,
30.Fn SSL_rstate_string[_long]
31should always return
32.Qo RD Qc Ns / Ns Qo read done Qc .
33.Pp
34This function should only seldom be needed in applications.
35.Sh RETURN VALUES
36.Fn SSL_rstate_string
37and
38.Fn SSL_rstate_string_long
39can return the following values:
40.Bl -tag -width Ds
41.It Qo RH Qc Ns / Ns Qo read header Qc
42The header of the record is being evaluated.
43.It Qo RB Qc Ns / Ns Qo read body Qc
44The body of the record is being evaluated.
45.It Qo RD Qc Ns / Ns Qo read done Qc
46The record has been completely processed.
47.It Qo unknown Qc Ns / Ns Qo unknown Qc
48The read state is unknown.
49This should never happen.
50.El
51.Sh SEE ALSO
52.Xr ssl 3