Add testcases for SSL_key_update() corner case calls
authoryangyangtiantianlonglong <yangtianlong1224@163.com>
Thu, 15 Jul 2021 12:15:36 +0000 (20:15 +0800)
committerPauli <pauli@openssl.org>
Wed, 21 Jul 2021 04:11:56 +0000 (14:11 +1000)
commit0c48fda8d38ab91356c725e00ebcbbcad9ef0302
treed7545a8a43376bd897382b53d97c0af9eacc62c7
parentfd76ee47b951657cf1366fd6297bb3a85aecb169
Add testcases for SSL_key_update() corner case calls

Test that SSL_key_update() is not allowed if there are writes pending.
Test that there is no reset of the packet pointer in ssl3_setup_read_buffer().

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16085)
doc/man3/SSL_get_error.pod
doc/man3/SSL_key_update.pod
test/sslapitest.c