1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-26 19:39:53 +03:00

Merge PR #652: Mayaqua/Encrypt.c: fix invalid features.aes for mips, ppc

This commit is contained in:
Davide Beatrici 2018-08-13 19:41:52 +02:00 committed by GitHub
commit 0174f956e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4289,11 +4289,9 @@ bool IsAesNiSupported()
const Aarch64Features features = GetAarch64Info().features; const Aarch64Features features = GetAarch64Info().features;
supported = features.aes; supported = features.aes;
#elif defined(CPU_FEATURES_ARCH_MIPS) #elif defined(CPU_FEATURES_ARCH_MIPS)
const MipsFeatures features = GetMipsInfo().features; //const MipsFeatures features = GetMipsInfo().features; // no features.aes
supported = features.aes;
#elif defined(CPU_FEATURES_ARCH_PPC) #elif defined(CPU_FEATURES_ARCH_PPC)
const PPCFeatures features = GetPPCInfo().features; //const PPCFeatures features = GetPPCInfo().features; // no features.aes
supported = features.aes;
#endif #endif
#endif // _MSC_VER #endif // _MSC_VER