[openssl] openssl-3.0 update
Dr. Paul Dale
pauli at openssl.org
Mon Jan 17 02:16:35 UTC 2022
The branch openssl-3.0 has been updated
via 63c0fbcf865a711161feccd90aec9bf2e0e49199 (commit)
from a8779af2f5cb76ac2563c28c1fdbdf314f0a6ebb (commit)
- Log -----------------------------------------------------------------
commit 63c0fbcf865a711161feccd90aec9bf2e0e49199
Author: Dmytro Podgornyi <dmytrop at nvidia.com>
Date: Wed Jan 12 19:25:23 2022 +0200
ssl/t1_enc: Fix kTLS RX offload path
During counting of the unprocessed records, return code is treated in a
wrong way. This forces kTLS RX path to be skipped in case of presence
of unprocessed records.
CLA: trivial
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17492)
(cherry picked from commit d73a7a3a71270aaadb4e4e678ae9bd3cef8b9cbd)
-----------------------------------------------------------------------
Summary of changes:
ssl/t1_enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c
index 51688d4f2e..101cba6490 100644
--- a/ssl/t1_enc.c
+++ b/ssl/t1_enc.c
@@ -122,7 +122,7 @@ static int count_unprocessed_records(SSL *s)
return -1;
/* Read until next record */
- if (PACKET_get_length_prefixed_2(&pkt, &subpkt))
+ if (!PACKET_get_length_prefixed_2(&pkt, &subpkt))
return -1;
count += 1;
More information about the openssl-commits
mailing list