]> granicus.if.org Git - openssl/commitdiff
Minor documentation tweak
authorMatt Caswell <matt@openssl.org>
Fri, 11 Sep 2015 12:39:04 +0000 (13:39 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Oct 2015 08:39:46 +0000 (08:39 +0000)
Update the return type for SSL_state in the documentation.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
doc/ssl/ssl.pod

index 37046c1cce95db611c56625c56b0e54084078b78..03e5e0a814a21df9fed0375eb0ad75fd9a3433d8 100644 (file)
@@ -624,7 +624,9 @@ success or 0 on failure.
 
 =item int B<SSL_shutdown>(SSL *ssl);
 
-=item int B<SSL_state>(const SSL *ssl);
+=item enum HANDSHAKE_STATE B<SSL_state>(const SSL *ssl);
+
+Returns the current handshake state.
 
 =item char *B<SSL_state_string>(const SSL *ssl);