diff options
author | David Benjamin <davidben@davidben.net> | 2018-05-21 21:24:04 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-05-22 09:24:04 +0800 |
commit | 7ac5f272c867cd9cfe2d14107e611af84c69b79b (patch) | |
tree | 97b9a61eccad0f4fd7e6ac6c0c3fd5d06dbbe411 /leakcheck | |
parent | ce5c3843fc412add906d853ec31cc5d489631cef (diff) | |
download | pyopenssl-git-7ac5f272c867cd9cfe2d14107e611af84c69b79b.tar.gz |
Tone down the comment around SSL_set_tlsext_status_ocsp_resp. (#764)
The ownership semantics of SSL_set_tlsext_status_ocsp_resp are not as
complex as the comment suggests. There's no leak or complex lifetime.
It's an ownership transfer of an OPENSSL_malloc'd buffer. The
documentation is lacking, and making the copy internally would have been
tidier (though less efficient if the OCSP response where generated by
i2d_OCSP_RESPONSE), but this sort of thing has precedent in OpenSSL's
API.
Diffstat (limited to 'leakcheck')
0 files changed, 0 insertions, 0 deletions