Fix export symbol bug in MSVC

This commit is contained in:
Zhi Guan
2022-12-24 10:50:44 +08:00
parent fac880d47d
commit 0eb4bd9c1d
7 changed files with 53 additions and 32 deletions

View File

@@ -18,6 +18,9 @@
#include <gmssl/asn1.h>
#include <gmssl/error.h>
extern const SM9_POINT *SM9_P1;
extern const SM9_TWIST_POINT *SM9_P2;
int sm9_signature_to_der(const SM9_SIGNATURE *sig, uint8_t **out, size_t *outlen)
{