1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00

Mayaqua/Encrypt.c: fix invalid features.aes for mips, ppc

* fix invalid features.aes for mips, ppc

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
This commit is contained in:
Andy Walsh 2018-08-13 16:23:54 +02:00
parent 7c72e008eb
commit d6c8231ff0

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