1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-27 02:29:52 +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;
supported = features.aes;
#elif defined(CPU_FEATURES_ARCH_MIPS)
const MipsFeatures features = GetMipsInfo().features;
supported = features.aes;
//const MipsFeatures features = GetMipsInfo().features; // no features.aes
#elif defined(CPU_FEATURES_ARCH_PPC)
const PPCFeatures features = GetPPCInfo().features;
supported = features.aes;
//const PPCFeatures features = GetPPCInfo().features; // no features.aes
#endif
#endif // _MSC_VER