aboutsummaryrefslogtreecommitdiff
path: root/project/src/crypt.h
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2020-11-30 16:16:56 +0100
committerWiimm <wiimm@wiimm.de>2020-11-30 16:16:56 +0100
commit9c0078c6b9c1309b48f9ece8b5cad1b9be9a75c5 (patch)
tree0abd3b6a244076650e40a07e42adae9c2a6b2d8c /project/src/crypt.h
parenta0815499b2d9014695e6e261c909476729445360 (diff)
SZS v2.21a
Diffstat (limited to '')
-rw-r--r--project/src/crypt.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/project/src/crypt.h b/project/src/crypt.h
index c541bc8..6bf4359 100644
--- a/project/src/crypt.h
+++ b/project/src/crypt.h
@@ -38,8 +38,12 @@
#ifndef WIIMM_CRYPT_H
#define WIIMM_CRYPT_H 1
-#include "crypto/wiimm-sha.h"
-#define SHA1 WIIMM_SHA1
+#ifdef USE_SHA_LIB
+ #include <openssl/sha.h>
+#else
+ #include "crypto/wiimm-sha.h"
+ #define SHA1 WIIMM_SHA1
+#endif
#endif // WIIMM_CRYPT_H