aboutsummaryrefslogtreecommitdiff
path: root/project/src/crypt.h
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2020-12-26 23:18:34 +0100
committerWiimm <wiimm@wiimm.de>2020-12-26 23:18:34 +0100
commita3d605bc52ba3e53720d0dee29a470661b35a1c2 (patch)
treed36bf07ff543a013880eb0e6b81cc8e63c11e33d /project/src/crypt.h
parent9c0078c6b9c1309b48f9ece8b5cad1b9be9a75c5 (diff)
SZS v2.22a
Diffstat (limited to 'project/src/crypt.h')
-rw-r--r--project/src/crypt.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/project/src/crypt.h b/project/src/crypt.h
index 6bf4359..2862466 100644
--- a/project/src/crypt.h
+++ b/project/src/crypt.h
@@ -42,7 +42,11 @@
#include <openssl/sha.h>
#else
#include "crypto/wiimm-sha.h"
- #define SHA1 WIIMM_SHA1
+ #define SHA1 WIIMM_SHA1
+ #define SHA1_Init WIIMM_SHA1_Init
+ #define SHA1_Update WIIMM_SHA1_Update
+ #define SHA1_Final WIIMM_SHA1_Final
+ #define SHA_CTX WIIMM_SHA_CTX
#endif
#endif // WIIMM_CRYPT_H