mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 08:41:51 -04:00
- Pull in upstream patch https://github.com/wolfSSL/wolfssl/pull/8348 - Bump PORTREVISION
18 lines
659 B
C
18 lines
659 B
C
Fix the typo in the aarch64 macro
|
|
|
|
https://github.com/wolfSSL/wolfssl/issues/8347
|
|
|
|
--- wolfcrypt/src/cpuid.c.orig 2025-01-09 14:23:01 UTC
|
|
+++ wolfcrypt/src/cpuid.c
|
|
@@ -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) {
|
|
+ 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)
|