Add Windows and Visual Studio support

This commit is contained in:
Zhi Guan
2022-10-03 11:36:03 +08:00
parent 75155a4c37
commit 5e38788659
45 changed files with 1147 additions and 67 deletions

View File

@@ -33,7 +33,7 @@ int sm9sign_main(int argc, char **argv)
SM9_SIGN_KEY key;
SM9_SIGN_CTX ctx;
uint8_t buf[4096];
ssize_t len;
size_t len;
uint8_t sig[SM9_SIGNATURE_SIZE];
size_t siglen;