[openssl/openssl] 0dee3b: s390xcap.c: Avoid copying structure on initialization

Tomáš Mráz noreply at github.com
Tue Jun 27 22:33:08 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 0dee3b0421047354abd0b70cedd4c1bceaf323b0
      https://github.com/openssl/openssl/commit/0dee3b0421047354abd0b70cedd4c1bceaf323b0
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M crypto/s390xcap.c

  Log Message:
  -----------
  s390xcap.c: Avoid copying structure on initialization

This is problematic on old compilers. It also avoids duplicating
the read-only data.

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21284)




More information about the openssl-commits mailing list