[openssl/openssl] 32d2b5: s390xcap.c: Avoid copying structure on initialization

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


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 32d2b5fdd93ceee192abefb3fd0ce8f9a1b329c2
      https://github.com/openssl/openssl/commit/32d2b5fdd93ceee192abefb3fd0ce8f9a1b329c2
  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)

(cherry picked from commit 0dee3b0421047354abd0b70cedd4c1bceaf323b0)




More information about the openssl-commits mailing list