aboutsummaryrefslogtreecommitdiffstats
path: root/doc/ssl
diff options
context:
space:
mode:
authorTJ Saunders <tj@castaglia.org>2016-05-31 14:09:17 -0700
committerRich Salz <rsalz@openssl.org>2016-05-31 17:16:29 -0400
commit80c630f6574a33b1c633815a174110d10ec37c60 (patch)
tree927ecff08731a5b16c712222857737bbdf217cb5 /doc/ssl
parent73271290fe2fe47f122a80f7b67fde556d873a47 (diff)
downloadopenssl-80c630f6574a33b1c633815a174110d10ec37c60.tar.gz
Remove null check, per review feedback. Note this in the docs.
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1135)
Diffstat (limited to 'doc/ssl')
-rw-r--r--doc/ssl/SSL_SESSION_get_protocol_version.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/ssl/SSL_SESSION_get_protocol_version.pod b/doc/ssl/SSL_SESSION_get_protocol_version.pod
index bc6f25ccde..a033fdd9bb 100644
--- a/doc/ssl/SSL_SESSION_get_protocol_version.pod
+++ b/doc/ssl/SSL_SESSION_get_protocol_version.pod
@@ -21,7 +21,8 @@ SSL_SESSION_get_protocol_version() returns a number indicating the protocol
version used for the session; this number matches the constants I<e.g.>
B<TLS1_VERSION> or B<TLS1_2_VERSION>.
-If the function is passed the NULL pointer for the session B<s>, 0 is returned.
+Note that the SSL_SESSION_get_protocol_version() function
+does B<not> perform a null check on the provided session B<s> pointer.
=head1 SEE ALSO