mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
security/wolfssl: Fix arm64 build.
- Pull in upstream patch https://github.com/wolfSSL/wolfssl/pull/8348 - Bump PORTREVISION
This commit is contained in:
parent
69f948d717
commit
aee3a0f6c7
2 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= wolfssl
|
||||
PORTVERSION= 5.7.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security devel
|
||||
MASTER_SITES= https://www.wolfssl.com/ \
|
||||
LOCAL/fox
|
||||
|
|
|
@ -1,15 +1,18 @@
|
|||
Fix the typo in the aarch64 macro
|
||||
|
||||
https://github.com/wolfSSL/wolfssl/pull/8346
|
||||
https://github.com/wolfSSL/wolfssl/issues/8347
|
||||
|
||||
--- wolfcrypt/src/cpuid.c.orig 2025-01-09 14:23:01 UTC
|
||||
+++ wolfcrypt/src/cpuid.c
|
||||
@@ -259,7 +259,7 @@
|
||||
@@ -259,8 +259,10 @@
|
||||
|
||||
if (features & CPUID_AARCH64_FEAT_AES)
|
||||
cpuid_flags |= CPUID_AES;
|
||||
- if (features & CPUID_AARCH64_FEAT_PMULL)
|
||||
+ if (features & CPUID_AARCH64_FEAT_AES_PMULL)
|
||||
+ if (features & CPUID_AARCH64_FEAT_AES_PMULL) {
|
||||
+ cpuid_flags |= CPUID_AES;
|
||||
cpuid_flags |= CPUID_PMULL;
|
||||
+ }
|
||||
if (features & CPUID_AARCH64_FEAT_SHA256)
|
||||
cpuid_flags |= CPUID_SHA256;
|
||||
if (features & CPUID_AARCH64_FEAT_SHA256_512)
|
||||
|
|
Loading…
Add table
Reference in a new issue