diff options
author | Paul Yang <yang.yang@baishancloud.com> | 2017-12-25 10:50:39 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-01-16 18:34:08 +0100 |
commit | 1f13ad311367c07fe71c9f911195cd25948184d7 (patch) | |
tree | 6293d1b483575295ea3786c1a07f3895141aedb6 /doc/man3/SSL_CTX_set_security_level.pod | |
parent | Extend timeout for TLSProxy (diff) | |
download | openssl-1f13ad311367c07fe71c9f911195cd25948184d7.tar.xz openssl-1f13ad311367c07fe71c9f911195cd25948184d7.zip |
Add missing 'RETURN VALUES' sections in doc
All missing sections are added.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4976)
Diffstat (limited to 'doc/man3/SSL_CTX_set_security_level.pod')
-rw-r--r-- | doc/man3/SSL_CTX_set_security_level.pod | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/doc/man3/SSL_CTX_set_security_level.pod b/doc/man3/SSL_CTX_set_security_level.pod index 48a5240843..477df4ee29 100644 --- a/doc/man3/SSL_CTX_set_security_level.pod +++ b/doc/man3/SSL_CTX_set_security_level.pod @@ -158,13 +158,29 @@ key using SSL_CTX_use_certificate() at level 1. Applications which do not check the return values for errors will misbehave: for example it might appear that a certificate is not set at all because it had been rejected. +=head1 RETURN VALUES + +SSL_CTX_set_security_level() and SSL_set_security_level() do not return values. + +SSL_CTX_get_security_level() and SSL_get_security_level() return a integer that +represents the security level with B<SSL_CTX> or B<SSL>, respectively. + +SSL_CTX_set_security_callback() and SSL_set_security_callback() do not return +values. + +SSL_CTX_get_security_callback() and SSL_get_security_callback() return the pointer +to the security callback or NULL if the callback is not set. + +SSL_CTX_get0_security_ex_data() and SSL_get0_security_ex_data() return the extra +data pointer or NULL if the ex data is not set. + =head1 HISTORY These functions were first added to OpenSSL 1.1.0 =head1 COPYRIGHT -Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy |