Giter VIP home page Giter VIP logo

Comments (10)

sinotitan avatar sinotitan commented on May 17, 2024

调试了下mkdef.pl发现可能是938这里死循环了

from gmssl.

sinotitan avatar sinotitan commented on May 17, 2024

今天上午又看了下,时候是添加的CPK算法信息有问题,卡住了

from gmssl.

guanzhi avatar guanzhi commented on May 17, 2024

mkdef.pl文件中关于CPK算法的部分可能有问题,因为GmSSL仍在开发中,我们没有在Windows上做任何测试,建议你优先选择Mac作为试用环境。

from gmssl.

bjgxjob avatar bjgxjob commented on May 17, 2024

在编译时,忽略了CPK算法(如perl Configure no-cpk VC-WIN64A),还是会出现mkdef.pl卡死的问题。

from gmssl.

James1256 avatar James1256 commented on May 17, 2024

哪位perl熟悉的调一下吧

from gmssl.

conezxy avatar conezxy commented on May 17, 2024

之前遇到过类似问题,如果do_ms.bat执行长时间无响应,则可能是include目录下的头文件中存在不规范的函数原型:

简单通过grep查了一下:grep -r "()" include/openssl/* | grep -v ":[ #//]",在cpk.h中发现一个

X509_ALGOR *CPK_MAP_new_default();

这里要改成

X509_ALGOR *CPK_MAP_new_default(void);

没有在Windows环境上试过,不知道能否解决问题

from gmssl.

James1256 avatar James1256 commented on May 17, 2024

@conezxy , 这两个定义有区别吗?应该都符合C标准的吧

from gmssl.

guanzhi avatar guanzhi commented on May 17, 2024

非常感谢 @conezxy 发现这个问题!

from gmssl.

hidva avatar hidva commented on May 17, 2024

@James1256 void f()表明f可以接收任意数量的参数,如:f(),f(1),f(1,2)都行.void f(void)则指定f不能接收任何参数,只能f().

from gmssl.

James1256 avatar James1256 commented on May 17, 2024

函数改了后,应该不卡死了,但相关的文件都要改动过才能正确运行,并生成编译文件吧

from gmssl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.