]> git.ipfire.org Git - thirdparty/openssl.git/commit
Disallow SSL_key_update() if there are writes pending
authorMatt Caswell <matt@openssl.org>
Tue, 13 Jul 2021 16:44:44 +0000 (17:44 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 16 Jul 2021 10:32:44 +0000 (11:32 +0100)
commitc9d782d72f573045d0c09e1685a1125df58ecb03
tree7b10ea2f46be785a74f55308d1ee5cfa500ec95d
parent97664088f3b332cfd462e3d209983115ef88cfc9
Disallow SSL_key_update() if there are writes pending

If an application is halfway through writing application data it should
not be allowed to attempt an SSL_key_update() operation. Instead the
SSL_write() operation should be completed.

Fixes #12485

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16098)
ssl/ssl_lib.c