aboutsummaryrefslogtreecommitdiff
path: root/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ssl/SSL_CTX_use_psk_identity_hint.pod')
-rw-r--r--doc/ssl/SSL_CTX_use_psk_identity_hint.pod12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/ssl/SSL_CTX_use_psk_identity_hint.pod b/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
index 9da7201a9990..12db0daa199f 100644
--- a/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
+++ b/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
@@ -83,7 +83,12 @@ Return values from the server callback are interpreted as follows:
=over 4
-=item > 0
+=item Z<>0
+
+PSK identity was not found. An "unknown_psk_identity" alert message
+will be sent and the connection setup fails.
+
+=item E<gt>0
PSK identity was found and the server callback has provided the PSK
successfully in parameter B<psk>. Return value is the length of
@@ -96,11 +101,6 @@ data to B<psk> and return the length of the random data, so the
connection will fail with decryption_error before it will be finished
completely.
-=item Z<>0
-
-PSK identity was not found. An "unknown_psk_identity" alert message
-will be sent and the connection setup fails.
-
=back
=cut