summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorespie <>2014-03-18 17:46:04 +0000
committerespie <>2014-03-18 17:46:04 +0000
commit26550da6583df81675b762ecb111b695c4faa098 (patch)
treef20442b45f29c41e8fbe121686e5ec91b50f5440 /src
parentc74788490dc35ac7f27276f94af13e1e707b039c (diff)
downloadopenbsd-26550da6583df81675b762ecb111b695c4faa098.tar.gz
openbsd-26550da6583df81675b762ecb111b695c4faa098.tar.bz2
openbsd-26550da6583df81675b762ecb111b695c4faa098.zip
prepare manpages for new perl.
Note that I missed two of these in the diff shown initially, thx to the atrocious Makefile rule... okay millert@, sthen@, basically
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/doc/X509_STORE_CTX_get_error.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/X509_STORE_CTX_get_error.pod2
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_COMP_add_compression_method.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_CTX_add_session.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_CTX_load_verify_locations.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_CTX_set_client_CA_list.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_CTX_set_session_id_context.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_CTX_set_ssl_version.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_CTX_use_psk_identity_hint.pod8
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_accept.pod6
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_clear.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_connect.pod6
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_do_handshake.pod6
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_read.pod6
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_session_reused.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_set_fd.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_set_session.pod4
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_shutdown.pod6
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_write.pod6
19 files changed, 48 insertions, 40 deletions
diff --git a/src/lib/libcrypto/doc/X509_STORE_CTX_get_error.pod b/src/lib/libcrypto/doc/X509_STORE_CTX_get_error.pod
index a883f6c097..60e8332ae9 100644
--- a/src/lib/libcrypto/doc/X509_STORE_CTX_get_error.pod
+++ b/src/lib/libcrypto/doc/X509_STORE_CTX_get_error.pod
@@ -278,6 +278,8 @@ happen if extended CRL checking is enabled.
278an application specific error. This will never be returned unless explicitly 278an application specific error. This will never be returned unless explicitly
279set by an application. 279set by an application.
280 280
281=back
282
281=head1 NOTES 283=head1 NOTES
282 284
283The above functions should be used instead of directly referencing the fields 285The above functions should be used instead of directly referencing the fields
diff --git a/src/lib/libssl/src/doc/crypto/X509_STORE_CTX_get_error.pod b/src/lib/libssl/src/doc/crypto/X509_STORE_CTX_get_error.pod
index a883f6c097..60e8332ae9 100644
--- a/src/lib/libssl/src/doc/crypto/X509_STORE_CTX_get_error.pod
+++ b/src/lib/libssl/src/doc/crypto/X509_STORE_CTX_get_error.pod
@@ -278,6 +278,8 @@ happen if extended CRL checking is enabled.
278an application specific error. This will never be returned unless explicitly 278an application specific error. This will never be returned unless explicitly
279set by an application. 279set by an application.
280 280
281=back
282
281=head1 NOTES 283=head1 NOTES
282 284
283The above functions should be used instead of directly referencing the fields 285The above functions should be used instead of directly referencing the fields
diff --git a/src/lib/libssl/src/doc/ssl/SSL_COMP_add_compression_method.pod b/src/lib/libssl/src/doc/ssl/SSL_COMP_add_compression_method.pod
index 42fa66b197..80175a3c17 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_COMP_add_compression_method.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_COMP_add_compression_method.pod
@@ -53,11 +53,11 @@ SSL_COMP_add_compression_method() may return the following values:
53 53
54=over 4 54=over 4
55 55
56=item 0 56=item C<0>
57 57
58The operation succeeded. 58The operation succeeded.
59 59
60=item 1 60=item C<1>
61 61
62The operation failed. Check the error queue to find out the reason. 62The operation failed. Check the error queue to find out the reason.
63 63
diff --git a/src/lib/libssl/src/doc/ssl/SSL_CTX_add_session.pod b/src/lib/libssl/src/doc/ssl/SSL_CTX_add_session.pod
index 82676b26b2..fd927f8d7d 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_CTX_add_session.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_CTX_add_session.pod
@@ -52,13 +52,13 @@ The following values are returned by all functions:
52 52
53=over 4 53=over 4
54 54
55=item 0 55=item C<0>
56 56
57 The operation failed. In case of the add operation, it was tried to add 57 The operation failed. In case of the add operation, it was tried to add
58 the same (identical) session twice. In case of the remove operation, the 58 the same (identical) session twice. In case of the remove operation, the
59 session was not found in the cache. 59 session was not found in the cache.
60 60
61=item 1 61=item C<1>
62 62
63 The operation succeeded. 63 The operation succeeded.
64 64
diff --git a/src/lib/libssl/src/doc/ssl/SSL_CTX_load_verify_locations.pod b/src/lib/libssl/src/doc/ssl/SSL_CTX_load_verify_locations.pod
index 84a799fc71..de01065285 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_CTX_load_verify_locations.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_CTX_load_verify_locations.pod
@@ -100,13 +100,13 @@ The following return values can occur:
100 100
101=over 4 101=over 4
102 102
103=item 0 103=item C<0>
104 104
105The operation failed because B<CAfile> and B<CApath> are NULL or the 105The operation failed because B<CAfile> and B<CApath> are NULL or the
106processing at one of the locations specified failed. Check the error 106processing at one of the locations specified failed. Check the error
107stack to find out the reason. 107stack to find out the reason.
108 108
109=item 1 109=item C<1>
110 110
111The operation succeeded. 111The operation succeeded.
112 112
diff --git a/src/lib/libssl/src/doc/ssl/SSL_CTX_set_client_CA_list.pod b/src/lib/libssl/src/doc/ssl/SSL_CTX_set_client_CA_list.pod
index 632b556d12..04d0a3c9a8 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_CTX_set_client_CA_list.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_CTX_set_client_CA_list.pod
@@ -66,11 +66,11 @@ values:
66 66
67=over 4 67=over 4
68 68
69=item 1 69=item C<1>
70 70
71The operation succeeded. 71The operation succeeded.
72 72
73=item 0 73=item C<0>
74 74
75A failure while manipulating the STACK_OF(X509_NAME) object occurred or 75A failure while manipulating the STACK_OF(X509_NAME) object occurred or
76the X509_NAME could not be extracted from B<cacert>. Check the error stack 76the X509_NAME could not be extracted from B<cacert>. Check the error stack
diff --git a/src/lib/libssl/src/doc/ssl/SSL_CTX_set_session_id_context.pod b/src/lib/libssl/src/doc/ssl/SSL_CTX_set_session_id_context.pod
index 58fc685506..ed0a81cdb9 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_CTX_set_session_id_context.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_CTX_set_session_id_context.pod
@@ -64,13 +64,13 @@ return the following values:
64 64
65=over 4 65=over 4
66 66
67=item 0 67=item C<0>
68 68
69The length B<sid_ctx_len> of the session id context B<sid_ctx> exceeded 69The length B<sid_ctx_len> of the session id context B<sid_ctx> exceeded
70the maximum allowed length of B<SSL_MAX_SSL_SESSION_ID_LENGTH>. The error 70the maximum allowed length of B<SSL_MAX_SSL_SESSION_ID_LENGTH>. The error
71is logged to the error stack. 71is logged to the error stack.
72 72
73=item 1 73=item C<1>
74 74
75The operation succeeded. 75The operation succeeded.
76 76
diff --git a/src/lib/libssl/src/doc/ssl/SSL_CTX_set_ssl_version.pod b/src/lib/libssl/src/doc/ssl/SSL_CTX_set_ssl_version.pod
index 254f2b4397..5ea8f0d4f6 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_CTX_set_ssl_version.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_CTX_set_ssl_version.pod
@@ -42,11 +42,11 @@ and SSL_set_ssl_method():
42 42
43=over 4 43=over 4
44 44
45=item 0 45=item C<0>
46 46
47The new choice failed, check the error stack to find out the reason. 47The new choice failed, check the error stack to find out the reason.
48 48
49=item 1 49=item C<1>
50 50
51The operation succeeded. 51The operation succeeded.
52 52
diff --git a/src/lib/libssl/src/doc/ssl/SSL_CTX_use_psk_identity_hint.pod b/src/lib/libssl/src/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
index b80e25be7e..9f88d284d2 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
@@ -81,7 +81,9 @@ SSL_CTX_use_psk_identity_hint() and SSL_use_psk_identity_hint() return
81 81
82Return values from the server callback are interpreted as follows: 82Return values from the server callback are interpreted as follows:
83 83
84=item > 0 84=over 4
85
86=item C<E<gt> 0>
85 87
86PSK identity was found and the server callback has provided the PSK 88PSK identity was found and the server callback has provided the PSK
87successfully in parameter B<psk>. Return value is the length of 89successfully in parameter B<psk>. Return value is the length of
@@ -94,9 +96,11 @@ data to B<psk> and return the length of the random data, so the
94connection will fail with decryption_error before it will be finished 96connection will fail with decryption_error before it will be finished
95completely. 97completely.
96 98
97=item 0 99=item C<0>
98 100
99PSK identity was not found. An "unknown_psk_identity" alert message 101PSK identity was not found. An "unknown_psk_identity" alert message
100will be sent and the connection setup fails. 102will be sent and the connection setup fails.
101 103
104=back
105
102=cut 106=cut
diff --git a/src/lib/libssl/src/doc/ssl/SSL_accept.pod b/src/lib/libssl/src/doc/ssl/SSL_accept.pod
index cc724c0d56..17f504b89b 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_accept.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_accept.pod
@@ -44,18 +44,18 @@ The following return values can occur:
44 44
45=over 4 45=over 4
46 46
47=item 1 47=item C<1>
48 48
49The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been 49The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
50established. 50established.
51 51
52=item 0 52=item C<0>
53 53
54The TLS/SSL handshake was not successful but was shut down controlled and 54The TLS/SSL handshake was not successful but was shut down controlled and
55by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the 55by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
56return value B<ret> to find out the reason. 56return value B<ret> to find out the reason.
57 57
58=item E<lt>0 58=item C<E<lt>0>
59 59
60The TLS/SSL handshake was not successful because a fatal error occurred either 60The TLS/SSL handshake was not successful because a fatal error occurred either
61at the protocol level or a connection failure occurred. The shutdown was 61at the protocol level or a connection failure occurred. The shutdown was
diff --git a/src/lib/libssl/src/doc/ssl/SSL_clear.pod b/src/lib/libssl/src/doc/ssl/SSL_clear.pod
index d4df1bfac3..2da0b023c6 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_clear.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_clear.pod
@@ -56,12 +56,12 @@ The following return values can occur:
56 56
57=over 4 57=over 4
58 58
59=item 0 59=item C<0>
60 60
61The SSL_clear() operation could not be performed. Check the error stack to 61The SSL_clear() operation could not be performed. Check the error stack to
62find out the reason. 62find out the reason.
63 63
64=item 1 64=item C<1>
65 65
66The SSL_clear() operation was successful. 66The SSL_clear() operation was successful.
67 67
diff --git a/src/lib/libssl/src/doc/ssl/SSL_connect.pod b/src/lib/libssl/src/doc/ssl/SSL_connect.pod
index cc56ebb75f..413af361e1 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_connect.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_connect.pod
@@ -41,18 +41,18 @@ The following return values can occur:
41 41
42=over 4 42=over 4
43 43
44=item 1 44=item C<1>
45 45
46The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been 46The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
47established. 47established.
48 48
49=item 0 49=item C<0>
50 50
51The TLS/SSL handshake was not successful but was shut down controlled and 51The TLS/SSL handshake was not successful but was shut down controlled and
52by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the 52by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
53return value B<ret> to find out the reason. 53return value B<ret> to find out the reason.
54 54
55=item E<lt>0 55=item C<E<lt>0>
56 56
57The TLS/SSL handshake was not successful, because a fatal error occurred either 57The TLS/SSL handshake was not successful, because a fatal error occurred either
58at the protocol level or a connection failure occurred. The shutdown was 58at the protocol level or a connection failure occurred. The shutdown was
diff --git a/src/lib/libssl/src/doc/ssl/SSL_do_handshake.pod b/src/lib/libssl/src/doc/ssl/SSL_do_handshake.pod
index 243576451b..e9d4119c72 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_do_handshake.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_do_handshake.pod
@@ -45,18 +45,18 @@ The following return values can occur:
45 45
46=over 4 46=over 4
47 47
48=item 1 48=item C<1>
49 49
50The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been 50The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
51established. 51established.
52 52
53=item 0 53=item C<0>
54 54
55The TLS/SSL handshake was not successful but was shut down controlled and 55The TLS/SSL handshake was not successful but was shut down controlled and
56by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the 56by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
57return value B<ret> to find out the reason. 57return value B<ret> to find out the reason.
58 58
59=item E<lt>0 59=item C<E<lt>0>
60 60
61The TLS/SSL handshake was not successful because a fatal error occurred either 61The TLS/SSL handshake was not successful because a fatal error occurred either
62at the protocol level or a connection failure occurred. The shutdown was 62at the protocol level or a connection failure occurred. The shutdown was
diff --git a/src/lib/libssl/src/doc/ssl/SSL_read.pod b/src/lib/libssl/src/doc/ssl/SSL_read.pod
index 7038cd2d75..5f03ec3559 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_read.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_read.pod
@@ -81,12 +81,12 @@ The following return values can occur:
81 81
82=over 4 82=over 4
83 83
84=item E<gt>0 84=item C<E<gt>0>
85 85
86The read operation was successful; the return value is the number of 86The read operation was successful; the return value is the number of
87bytes actually read from the TLS/SSL connection. 87bytes actually read from the TLS/SSL connection.
88 88
89=item 0 89=item C<0>
90 90
91The read operation was not successful. The reason may either be a clean 91The read operation was not successful. The reason may either be a clean
92shutdown due to a "close notify" alert sent by the peer (in which case 92shutdown due to a "close notify" alert sent by the peer (in which case
@@ -103,7 +103,7 @@ only be detected, whether the underlying connection was closed. It cannot
103be checked, whether the closure was initiated by the peer or by something 103be checked, whether the closure was initiated by the peer or by something
104else. 104else.
105 105
106=item E<lt>0 106=item C<E<lt>0>
107 107
108The read operation was not successful, because either an error occurred 108The read operation was not successful, because either an error occurred
109or action must be taken by the calling process. Call SSL_get_error() with the 109or action must be taken by the calling process. Call SSL_get_error() with the
diff --git a/src/lib/libssl/src/doc/ssl/SSL_session_reused.pod b/src/lib/libssl/src/doc/ssl/SSL_session_reused.pod
index da7d06264d..033d54c05b 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_session_reused.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_session_reused.pod
@@ -27,11 +27,11 @@ The following return values can occur:
27 27
28=over 4 28=over 4
29 29
30=item 0 30=item C<0>
31 31
32A new session was negotiated. 32A new session was negotiated.
33 33
34=item 1 34=item C<1>
35 35
36A session was reused. 36A session was reused.
37 37
diff --git a/src/lib/libssl/src/doc/ssl/SSL_set_fd.pod b/src/lib/libssl/src/doc/ssl/SSL_set_fd.pod
index 70291128fc..59e1b2bb20 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_set_fd.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_set_fd.pod
@@ -35,11 +35,11 @@ The following return values can occur:
35 35
36=over 4 36=over 4
37 37
38=item 0 38=item C<0>
39 39
40The operation failed. Check the error stack to find out why. 40The operation failed. Check the error stack to find out why.
41 41
42=item 1 42=item C<1>
43 43
44The operation succeeded. 44The operation succeeded.
45 45
diff --git a/src/lib/libssl/src/doc/ssl/SSL_set_session.pod b/src/lib/libssl/src/doc/ssl/SSL_set_session.pod
index 5f54714ad8..d35e6d3b7b 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_set_session.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_set_session.pod
@@ -37,11 +37,11 @@ The following return values can occur:
37 37
38=over 4 38=over 4
39 39
40=item 0 40=item C<0>
41 41
42The operation failed; check the error stack to find out the reason. 42The operation failed; check the error stack to find out the reason.
43 43
44=item 1 44=item C<1>
45 45
46The operation succeeded. 46The operation succeeded.
47 47
diff --git a/src/lib/libssl/src/doc/ssl/SSL_shutdown.pod b/src/lib/libssl/src/doc/ssl/SSL_shutdown.pod
index 89911acbca..69ad31e80b 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_shutdown.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_shutdown.pod
@@ -92,19 +92,19 @@ The following return values can occur:
92 92
93=over 4 93=over 4
94 94
95=item 1 95=item C<1>
96 96
97The shutdown was successfully completed. The "close notify" alert was sent 97The shutdown was successfully completed. The "close notify" alert was sent
98and the peer's "close notify" alert was received. 98and the peer's "close notify" alert was received.
99 99
100=item 0 100=item C<0>
101 101
102The shutdown is not yet finished. Call SSL_shutdown() for a second time, 102The shutdown is not yet finished. Call SSL_shutdown() for a second time,
103if a bidirectional shutdown shall be performed. 103if a bidirectional shutdown shall be performed.
104The output of L<SSL_get_error(3)|SSL_get_error(3)> may be misleading, as an 104The output of L<SSL_get_error(3)|SSL_get_error(3)> may be misleading, as an
105erroneous SSL_ERROR_SYSCALL may be flagged even though no error occurred. 105erroneous SSL_ERROR_SYSCALL may be flagged even though no error occurred.
106 106
107=item -1 107=item C<-1>
108 108
109The shutdown was not successful because a fatal error occurred either 109The shutdown was not successful because a fatal error occurred either
110at the protocol level or a connection failure occurred. It can also occur if 110at the protocol level or a connection failure occurred. It can also occur if
diff --git a/src/lib/libssl/src/doc/ssl/SSL_write.pod b/src/lib/libssl/src/doc/ssl/SSL_write.pod
index e013c12d52..b0f73ae520 100644
--- a/src/lib/libssl/src/doc/ssl/SSL_write.pod
+++ b/src/lib/libssl/src/doc/ssl/SSL_write.pod
@@ -74,12 +74,12 @@ The following return values can occur:
74 74
75=over 4 75=over 4
76 76
77=item E<gt>0 77=item C<E<gt>0>
78 78
79The write operation was successful, the return value is the number of 79The write operation was successful, the return value is the number of
80bytes actually written to the TLS/SSL connection. 80bytes actually written to the TLS/SSL connection.
81 81
82=item 0 82=item C<0>
83 83
84The write operation was not successful. Probably the underlying connection 84The write operation was not successful. Probably the underlying connection
85was closed. Call SSL_get_error() with the return value B<ret> to find out, 85was closed. Call SSL_get_error() with the return value B<ret> to find out,
@@ -90,7 +90,7 @@ SSLv2 (deprecated) does not support a shutdown alert protocol, so it can
90only be detected, whether the underlying connection was closed. It cannot 90only be detected, whether the underlying connection was closed. It cannot
91be checked, why the closure happened. 91be checked, why the closure happened.
92 92
93=item E<lt>0 93=item C<E<lt>0>
94 94
95The write operation was not successful, because either an error occurred 95The write operation was not successful, because either an error occurred
96or action must be taken by the calling process. Call SSL_get_error() with the 96or action must be taken by the calling process. Call SSL_get_error() with the