mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 11:32:02 +08:00
4d73751b34
* [ports/libaes-siv] New port * [ports/libaes-siv/CMakeLists.txt] Only include one C file ; use compile flags from their official CMakeLists.txt ; link OpenSSL * Update ports/libaes-siv/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * `./vcpkg x-add-version --all --overwrite-version` * [ports/libaes-siv/CMakeLists.txt] Copy yara port's approach to depending on OpenSSL * [ports/libaes-siv/CMakeLists.txt] Use @ for escaping vars and use https://cmake.org/cmake/help/latest/command/file.html#configure instead of `file(WRITE` following by `configure_file` * Update ports/libaes-siv/CMakeLists.txt Co-authored-by: Kai Pastor <dg0yt@darc.de> * Update ports/libaes-siv/CMakeLists.txt Co-authored-by: Kai Pastor <dg0yt@darc.de> * Update ports/libaes-siv/CMakeLists.txt Co-authored-by: Kai Pastor <dg0yt@darc.de> * ./vcpkg x-add-version libaes-siv --overwrite-version --------- Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: Kai Pastor <dg0yt@darc.de>
40 lines
777 B
Diff
40 lines
777 B
Diff
diff --git a/aes_siv.c b/aes_siv.c
|
|
index 00a510d..2b31ed3 100644
|
|
--- a/aes_siv.c
|
|
+++ b/aes_siv.c
|
|
@@ -5,7 +5,7 @@
|
|
#define _POSIX_C_SOURCE 200112L
|
|
#define _ISOC99_SOURCE 1
|
|
|
|
-#include "config.h"
|
|
+#include "aes_siv_config.h"
|
|
#include "aes_siv.h"
|
|
|
|
#include <assert.h>
|
|
diff --git a/bench.c b/bench.c
|
|
index ea5a29b..61cb485 100644
|
|
--- a/bench.c
|
|
+++ b/bench.c
|
|
@@ -2,7 +2,7 @@
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
-#include "config.h"
|
|
+#include "aes_siv_config.h"
|
|
#include "aes_siv.h"
|
|
|
|
#define _POSIX_C_SOURCE 200112L
|
|
diff --git a/tests.c b/tests.c
|
|
index 996cc58..9ff9637 100644
|
|
--- a/tests.c
|
|
+++ b/tests.c
|
|
@@ -5,7 +5,7 @@
|
|
#define _POSIX_C_SOURCE 200112L
|
|
#define _ISOC99_SOURCE 1
|
|
|
|
-#include "config.h"
|
|
+#include "aes_siv_config.h"
|
|
#include "aes_siv.h"
|
|
|
|
#undef NDEBUG
|