openssl/ssl
Bernd Edlinger ad2f4cdcb1 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@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18304)
2022-07-18 08:08:45 +01:00
..
quic Add a test_ssl_new testcase 2022-06-03 12:07:18 +10:00
record Remove duplicated BIO_get_ktls_send calls in do_ssl3_write 2022-07-18 08:08:45 +01:00
statem Check for EVP_MD being NULL inside ssl. 2022-07-13 08:01:55 +01:00
bio_ssl.c
build.info ssl: implement an event queue 2022-07-06 10:33:11 +10:00
d1_lib.c ssl: expose the get time function internally 2022-06-22 13:05:40 +10:00
d1_msg.c
d1_srtp.c
event_queue.c ssl: implement an event queue 2022-07-06 10:33:11 +10:00
ktls.c
methods.c
pqueue.c
priority_queue.c add priority queue implementation 2022-06-22 13:05:39 +10:00
s3_cbc.c
s3_enc.c
s3_lib.c Check for EVP_MD being NULL inside ssl. 2022-07-13 08:01:55 +01:00
s3_msg.c
ssl_asn1.c
ssl_cert_table.h
ssl_cert.c
ssl_ciph.c Check for EVP_MD being NULL inside ssl. 2022-07-13 08:01:55 +01:00
ssl_conf.c Enable setting SSL_CERT_FLAG_TLS_STRICT with ssl config 2022-06-03 13:22:42 +10:00
ssl_err_legacy.c
ssl_err.c
ssl_init.c
ssl_lib.c
ssl_local.h Add deprecation macro for 3.1 and deprecate OPENSSL_LH_stats 2022-06-22 09:36:14 +02:00
ssl_mcnf.c
ssl_rsa_legacy.c
ssl_rsa.c
ssl_sess.c
ssl_stat.c
ssl_txt.c
ssl_utst.c
sslerr.h
t1_enc.c
t1_lib.c Improve diagnostics on setting groups 2022-06-22 16:59:05 +10:00
t1_trce.c
time.c ssl: expose the get time function internally 2022-06-22 13:05:40 +10:00
tls13_enc.c Check for EVP_MD being NULL inside ssl. 2022-07-13 08:01:55 +01:00
tls_depr.c
tls_srp.c ssl/tls_srp.c: Add check for BN_dup 2022-07-08 13:05:03 -04:00