[openssl/openssl] 12d08f: Move ALIGN32 and ALIGN64 into common.h, and fix fo...

Tom Cosgrove noreply at github.com
Sun Sep 3 22:46:17 UTC 2023

  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 12d08fe3a50f28fe80ff591e05d7f8253148afb4
  Author: Tom Cosgrove <tom.cosgrove at arm.com>
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
    M crypto/bn/rsaz_exp.c
    M crypto/ec/ecp_nistz256.c
    M crypto/ec/ecp_sm2p256.c
    M include/internal/common.h

  Log Message:
  Move ALIGN32 and ALIGN64 into common.h, and fix for clang-cl.exe

clang-cl.exe defines __clang__ and _MSC_VER but not __GNUC__, so a clang-
specific guard is needed to get the correct ALIGNxx versions.

Fixes #21914

Change-Id: Icdc047b182ad1ba61c7b1b06a1e951eda1a0c33d

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21921)

More information about the openssl-commits mailing list