Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net-SSLeay编译问题 #646

Open
andylee521 opened this issue Jul 31, 2024 · 0 comments
Open

Net-SSLeay编译问题 #646

andylee521 opened this issue Jul 31, 2024 · 0 comments

Comments

@andylee521
Copy link

andylee521 commented Jul 31, 2024

铜锁能否将hash算法ripemd160加回来,因为这个算法没有disable宏。
导致Net-SSLeay开源代码无法编译。
代码片段:

#ifndef OPENSSL_NO_MD5
#include <openssl/md5.h>     /* openssl-SNAP-20020227 does not automatically include this */
#endif
#include <openssl/ripemd.h>
#include <openssl/x509.h>
...
if (!k && !strcmp(type,"ripemd160")) {
    k = 1; digest_tp = EVP_ripemd160();
}
if (!k)	/* Default digest */
    digest_tp = EVP_sha1();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant