6
0
forked from pool/boringssl
Files
boringssl/0004-fix-alignment-for-ppc64le.patch
Adam Majer 06665d6744 Revert to d4a92c1a5cad30101b668941d87f0dac
as in devel project prior to import
2025-08-21 05:51:30 +02:00

26 lines
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