[openssl/openssl] ad2f4c: Remove duplicated BIO_get_ktls_send calls in do_ss...
bernd-edlinger
noreply at reply.github.openssl.org
Mon Jul 18 07:09:34 UTC 2022
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.edlinger at 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 <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18304)
More information about the openssl-commits
mailing list