aboutsummaryrefslogtreecommitdiff
path: root/project/src/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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