We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e7f74ab + 77af268 commit 483f1cfCopy full SHA for 483f1cf
ios/sha256.m
@@ -15,7 +15,7 @@ @implementation sha256Lib
15
16
RCT_EXPORT_MODULE()
17
18
-typedef unsigned char (*DIGEST_FUNCTION)(const void *data, CC_LONG len, unsigned char *md);
+typedef unsigned char *DIGEST_FUNCTION(const void *data, CC_LONG len, unsigned char *md);
19
20
- (NSString*) calcHash: (NSString*) subject withDigestFunction: (DIGEST_FUNCTION) digest withDigestLength: (int) digestLength {
21
0 commit comments