[openssl/openssl] 3dcd85: Make a failure in ktls_sendfile a syscall error

Neil Horman noreply at github.com
Fri Apr 26 15:11:40 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 3dcd85139f30625f2e4d072fe2b0f211f76f819c
      https://github.com/openssl/openssl/commit/3dcd85139f30625f2e4d072fe2b0f211f76f819c
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M ssl/ssl_lib.c

  Log Message:
  -----------
  Make a failure in ktls_sendfile a syscall error

a failure in ktls_sendfile results in an error in ERR_LIB_SSL, but its
really a syscall error, since ktls_sendfile just maps to a call to the
sendfile syscall.  Encode it as such

Fixes #23722

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23723)


  Commit: 933f57dfe21657f7aba8f13e0cdb3b02dd64fcc3
      https://github.com/openssl/openssl/commit/933f57dfe21657f7aba8f13e0cdb3b02dd64fcc3
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M ssl/record/methods/tls_common.c

  Log Message:
  -----------
  Raise an error on syscall failure in tls_retry_write_records

Record the errno when we get a syscall failure in
tls_retry_write_records

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23723)


Compare: https://github.com/openssl/openssl/compare/3059052992ab...933f57dfe216

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list