tobiaswang
tobiaswang
@guanzhi 在windows下面编译最新的代码也出错: 环境:64位win10 version: 1607,msys2更新到最新,gcc version: 6.3.0, 编译命令: ./config no-saf no-sdf no-skf no-sof no-zuc make 错误: ///////////////////////////////////////////////////////////////////////////////////////////////////// D:/Development/msys2/mingw32/i686-w64-mingw32/include/minwindef.h:24:29: error: conflicting types for 'ULONG' typedef unsigned __LONG32 ULONG; ^~~~~ In file...
@guanzhi 问个程序问题: 我希望从国密证书中获取sm2公钥 先用gmssl 命令行工具生成一个X509 DER格式的国密证书,然后写程序解析: X509 *x509_cert = NULL; if ((bio = BIO_new_file(argv[4], "rb")) == NULL || (x509_cert = d2i_X509_bio(bio, NULL)) == NULL) { printf("ERROR: failed to read x509...