[openssl/openssl] 57f247: SM4 check should be for __aarch64__, not __ARM_MAX...

Tom Cosgrove noreply at github.com
Wed Mar 29 15:24:35 UTC 2023

  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 57f247cd249755b52f2dbfd3b549a1ef436d5ad8
  Author: Tom Cosgrove <tom.cosgrove at arm.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M include/crypto/sm4_platform.h

  Log Message:
  SM4 check should be for __aarch64__, not __ARM_MAX_ARCH__ >= 8

(And then __arm__ and __arm tests are redundant)

Fixes #20604 for 3.1 branch

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

More information about the openssl-commits mailing list