Update SSL_CTX_sess_set_new_cb(3) docs for refcounts
authorBenjamin Kaduk <bkaduk@akamai.com>
Wed, 15 Jan 2020 00:22:52 +0000 (16:22 -0800)
committerBen Kaduk <kaduk@mit.edu>
Thu, 16 Jan 2020 21:40:45 +0000 (13:40 -0800)
commit188d4ec82a9b0085ac5841cce3eda95efb94f2b4
treed91506a543786401d1006a0f10e262d6112887c1
parent437ad983c6ca254cd1d4367fb1d68338c82e8ee3
Update SSL_CTX_sess_set_new_cb(3) docs for refcounts

The existing documentation for the new-session callback was unclear
about the requirements on the callback with respect to reference-handling
of the session object being created.  Be more explicit about the
(non-)requirements on the callback code for "success" (1) and "ignore"
(0) return values.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10848)
doc/man3/SSL_CTX_sess_set_get_cb.pod