]> git.ipfire.org Git - thirdparty/openssl.git/commit
s390xcap.c: Avoid copying structure on initialization
authorTomas Mraz <tomas@openssl.org>
Mon, 26 Jun 2023 15:13:30 +0000 (17:13 +0200)
committerPauli <pauli@openssl.org>
Tue, 27 Jun 2023 22:31:07 +0000 (08:31 +1000)
commit32d2b5fdd93ceee192abefb3fd0ce8f9a1b329c2
tree42cce26610d1170a35cbebdc4e8db6513dd30d3c
parent64aa8eaf125a33c573d47067849e3cfe89d23070
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@me.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21284)

(cherry picked from commit 0dee3b0421047354abd0b70cedd4c1bceaf323b0)
crypto/s390xcap.c