diff options
author | bentley <> | 2014-10-12 09:33:04 +0000 |
---|---|---|
committer | bentley <> | 2014-10-12 09:33:04 +0000 |
commit | 82b7f378b6907ab315a6e50322d2a0a8794a0aa9 (patch) | |
tree | a5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_rstate_string.3 | |
parent | 0a63f0cf49369e1926567ab62e04e3355cedf0cd (diff) | |
download | openbsd-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.3 | 52 |
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 | ||
16 | returns a 2-letter string indicating the current read state of the | ||
17 | .Vt SSL | ||
18 | object | ||
19 | .Fa ssl . | ||
20 | .Pp | ||
21 | .Fn SSL_rstate_string_long | ||
22 | returns a string indicating the current read state of the | ||
23 | .Vt SSL | ||
24 | object | ||
25 | .Fa ssl . | ||
26 | .Sh NOTES | ||
27 | When performing a read operation, the SSL/TLS engine must parse the record, | ||
28 | consisting of header and body. | ||
29 | When working in a blocking environment, | ||
30 | .Fn SSL_rstate_string[_long] | ||
31 | should always return | ||
32 | .Qo RD Qc Ns / Ns Qo read done Qc . | ||
33 | .Pp | ||
34 | This function should only seldom be needed in applications. | ||
35 | .Sh RETURN VALUES | ||
36 | .Fn SSL_rstate_string | ||
37 | and | ||
38 | .Fn SSL_rstate_string_long | ||
39 | can return the following values: | ||
40 | .Bl -tag -width Ds | ||
41 | .It Qo RH Qc Ns / Ns Qo read header Qc | ||
42 | The header of the record is being evaluated. | ||
43 | .It Qo RB Qc Ns / Ns Qo read body Qc | ||
44 | The body of the record is being evaluated. | ||
45 | .It Qo RD Qc Ns / Ns Qo read done Qc | ||
46 | The record has been completely processed. | ||
47 | .It Qo unknown Qc Ns / Ns Qo unknown Qc | ||
48 | The read state is unknown. | ||
49 | This should never happen. | ||
50 | .El | ||
51 | .Sh SEE ALSO | ||
52 | .Xr ssl 3 | ||