mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-09-22 21:34:12 +08:00
Update CMakeLists.txt
both CMakeLists.txt and source use ENABLE_XXX
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2022 The GmSSL Project. All Rights Reserved.
|
||||
* Copyright 2014-2023 The GmSSL Project. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the License); you may
|
||||
* not use this file except in compliance with the License.
|
||||
@@ -15,17 +15,18 @@
|
||||
#include <gmssl/digest.h>
|
||||
|
||||
const char *digests[] = {
|
||||
#ifdef ENABLE_BROKEN_CRYPTO
|
||||
"md5",
|
||||
"sm3",
|
||||
#ifdef ENABLE_SHA1
|
||||
"sha1",
|
||||
#endif
|
||||
"sm3",
|
||||
#ifdef ENABLE_SHA2
|
||||
"sha224",
|
||||
"sha256",
|
||||
"sha384",
|
||||
"sha512",
|
||||
"sha512-224",
|
||||
"sha512-256",
|
||||
#endif
|
||||
};
|
||||
|
||||
int main(void)
|
||||
|
||||
Reference in New Issue
Block a user