Branch: refs/heads/master Home: https://github.openssl.org/openssl/openssl Commit: ad2f4cdcb1875b16e0f5581ab1ee0bae572c68e6 https://github.openssl.org/openssl/openssl/commit/ad2f4cdcb1875b16e0f5581ab1ee0bae572c68e6 Author: Bernd Edlinger <bernd.edlin...@hotmail.de> Date: 2022-07-18 (Mon, 18 Jul 2022)
Changed paths: M ssl/record/rec_layer_s3.c M ssl/record/ssl3_record.c Log Message: ----------- Remove duplicated BIO_get_ktls_send calls in do_ssl3_write This rather long function used to call BIO_get_ktls_send mutliple times, although that result cannot change during the execution of that function. There was a similar unnecessary call to BIO_get_ktls_recv in ssl3_get_record. And while I'm already there, rewrite ssl3_write_bytes to use BIO_get_ktls_send as a boolean (so using "!" instead of "== 0"). Reviewed-by: Hugo Landau <hlan...@openssl.org> Reviewed-by: Tomas Mraz <to...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18304)