Disabling aesni detection on OSX

This commit is contained in:
iceman1001 2022-03-27 11:05:49 +02:00
parent a98b9590c6
commit cce9edcd0f

View file

@ -37,10 +37,16 @@
#include <unistd.h>
//#include <mbedtls/aes.h>
#include "util_posix.h"
#include "aes-ni.h"
#include "detectaes.h"
#include "randoms.h"
#include "aes-ni.h"
#if defined(__APPLE__) || defined(__MACH__)
#else
#include "detectaes.h"
#endif
#define AEND "\x1b[0m"
#define _RED_(s) "\x1b[31m" s AEND
#define _GREEN_(s) "\x1b[32m" s AEND