CBL-Mariner/SPECS/boringssl/0004-fix-alignment-for-ppc6...

26 строки
782 B
Diff

From c1f2622b3431ba2b57d1ba78695d40fad16ed2dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Wed, 4 Dec 2019 08:23:17 +0100
Subject: [PATCH 4/4] fix alignment for ppc64le
---
src/crypto/cipher_extra/aead_test.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/cipher_extra/aead_test.cc b/crypto/cipher_extra/aead_test.cc
index 4c079e843321..2c7e116a4aad 100644
--- a/src/crypto/cipher_extra/aead_test.cc
+++ b/src/crypto/cipher_extra/aead_test.cc
@@ -29,7 +29,7 @@
#include "../test/test_util.h"
#include "../test/wycheproof_util.h"
-#if defined(OPENSSL_AARCH64)
+#if defined(OPENSSL_AARCH64) || defined(OPENSSL_PPC64LE)
#define ALIGN_BYTES 16
#elif defined(OPENSSL_S390X)
#define ALIGN_BYTES 8
--
2.24.0