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

#error MD2 is disabled #31

Closed
mrpre opened this issue Jul 8, 2016 · 5 comments
Closed

#error MD2 is disabled #31

mrpre opened this issue Jul 8, 2016 · 5 comments

Comments

@mrpre
Copy link

mrpre commented Jul 8, 2016

HA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o md2_dgst.o md2_dgst.c
In file included from md2_dgst.c:62:
../../include/openssl/md2.h:64:4: error: #error MD2 is disabled.
make[2]: *** [md2_dgst.o] Error 1
make[2]: Leaving directory /studio/gmssl/GmSSL/crypto/md2' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory/studio/gmssl/GmSSL/crypto'
make: *** [build_crypto] Error 1
需要./config 时怎么不去编译md2 ?

@guanzhi
Copy link
Owner

guanzhi commented Jul 8, 2016

不太理解你的意思,但是MD2不安全,默认应该是不编译的

@baggiowangyu
Copy link

我也遇到这样的问题,该怎么解决?

@mrpre
Copy link
Author

mrpre commented Sep 3, 2016

@baggiowangyu 自己把 md2.h文件里 "#error MD2 is disabled" 这句话删掉。
当然,你会发现,后面还会有错,错哪里删哪里。

@mrpre
Copy link
Author

mrpre commented Sep 3, 2016

其实MD2还是必要的,我就见过某机构现在用的根证书 是RSAwithmd2签名的。其实MD2还是必要的,我就见过某机构现在用的根证书 是RSAwithmd2签名的。

@github-actions
Copy link

Marked as stale issue. Will be closed later if no activity for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants