mirror of
https://github.com/rizinorg/rizin
synced 2026-08-22 20:26:16 -04:00
When sm3 on openssl is not available, compile algorithms/sm3/sm3.c (#6615)
This commit is contained in:
parent
1c4bcf6ef7
commit
5349d34dcb
2 changed files with 6 additions and 0 deletions
|
|
@ -184,6 +184,11 @@ else
|
|||
'algorithms/md5/md5.c',
|
||||
'algorithms/sha1/sha1.c',
|
||||
'algorithms/sha2/sha2.c',
|
||||
]
|
||||
endif
|
||||
|
||||
if userconf.get('HAVE_OPENSSL_SM3', 0) == 0
|
||||
rz_hash_sources += [
|
||||
'algorithms/sm3/sm3.c',
|
||||
]
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -945,6 +945,7 @@ summary({
|
|||
'System xxhash library': xxhash_dep.found() and xxhash_dep.type_name() != 'internal',
|
||||
'System libmspack library': libmspack_dep.found() and libmspack_dep.type_name() != 'internal',
|
||||
'System openssl library': sys_openssl.found() and sys_openssl.type_name() != 'internal',
|
||||
'System openssl has SM3': userconf.get('HAVE_OPENSSL_SM3', 0) != 0,
|
||||
'System capstone library': capstone_dep.found() and capstone_dep.type_name() != 'internal',
|
||||
'System zydis library': zydis_dep.found() and zydis_dep.type_name() != 'internal',
|
||||
'System tree-sitter library': tree_sitter_dep.found() and tree_sitter_dep.type_name() != 'internal',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue