diff options
Diffstat (limited to 'openssl/doc/ssl/SSL_CTX_use_psk_identity_hint.pod')
-rw-r--r-- | openssl/doc/ssl/SSL_CTX_use_psk_identity_hint.pod | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/openssl/doc/ssl/SSL_CTX_use_psk_identity_hint.pod b/openssl/doc/ssl/SSL_CTX_use_psk_identity_hint.pod index 9da7201a9..12db0daa1 100644 --- a/openssl/doc/ssl/SSL_CTX_use_psk_identity_hint.pod +++ b/openssl/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 |