summaryrefslogtreecommitdiffstats
path: root/doc/man7/ssl.pod
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-02-16 17:04:40 +0000
committerMatt Caswell <matt@openssl.org>2017-02-17 10:28:01 +0000
commit4fbfe86ae3c5a829ea1a259330921bd5549223a5 (patch)
tree69226d11aa9b0c0f4043033eb45a6a51afc2d4fb /doc/man7/ssl.pod
parent9b92f161708e31de87cf8df0d58e3f99bd7d1724 (diff)
Don't use an enum in the return type for a public API function
We use an int instead. That means SSL_key_update() also should use an int. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2609)
Diffstat (limited to 'doc/man7/ssl.pod')
-rw-r--r--doc/man7/ssl.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man7/ssl.pod b/doc/man7/ssl.pod
index b15ae7c3b6..5812bc8052 100644
--- a/doc/man7/ssl.pod
+++ b/doc/man7/ssl.pod
@@ -552,7 +552,7 @@ fresh handle for each connection.
=item void (*B<SSL_get_info_callback>(const SSL *ssl);)()
-=item SSL_KEY_UPDATE B<SSL_get_key_update_type>(SSL *s);
+=item int B<SSL_get_key_update_type>(SSL *s);
=item STACK *B<SSL_get_peer_cert_chain>(const SSL *ssl);
@@ -602,7 +602,7 @@ fresh handle for each connection.
=item int B<SSL_is_init_finished>(SSL *ssl);
-=item int B<SSL_key_update>(SSL *s, SSL_KEY_UPDATE updatetype);
+=item int B<SSL_key_update>(SSL *s, int updatetype);
=item STACK *B<SSL_load_client_CA_file>(const char *file);