mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:48:45 +08:00
5b6b66512b
* update to 2.8.84 * [libu2f-server] Initial Port of Version 1.1.0 * Missing exported functions * Add support for static linkage * Added missing 'arm64' Target, and corrected case for 'arm' for vcpkg_install_msbuild * Add support for arm64 * Support for arm target * [libu2f-server] add cmakelists and patch * string copy fix * revert msbuild changes * add compile definitions * add patch file * remove line * change version
41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
diff --git a/u2f-server/cdecode.c b/u2f-server/cdecode.c
|
|
index 6fff114..dc05ca5 100644
|
|
--- a/u2f-server/cdecode.c
|
|
+++ b/u2f-server/cdecode.c
|
|
@@ -5,7 +5,7 @@ This is part of the libb64 project, and has been placed in the public domain.
|
|
For details, see http://sourceforge.net/projects/libb64
|
|
*/
|
|
|
|
-#include <b64/cdecode.h>
|
|
+#include "b64/cdecode.h"
|
|
|
|
int base64_decode_value(char value_in)
|
|
{
|
|
diff --git a/u2f-server/cencode.c b/u2f-server/cencode.c
|
|
index eebb24a..f3b7fa4 100644
|
|
--- a/u2f-server/cencode.c
|
|
+++ b/u2f-server/cencode.c
|
|
@@ -5,7 +5,7 @@ This is part of the libb64 project, and has been placed in the public domain.
|
|
For details, see http://sourceforge.net/projects/libb64
|
|
*/
|
|
|
|
-#include <b64/cencode.h>
|
|
+#include "b64/cencode.h"
|
|
|
|
const int CHARS_PER_LINE = 72;
|
|
|
|
diff --git a/u2f-server/core.c b/u2f-server/core.c
|
|
index da440ec..294c94b 100644
|
|
--- a/u2f-server/core.c
|
|
+++ b/u2f-server/core.c
|
|
@@ -30,8 +30,7 @@
|
|
#include "internal.h"
|
|
|
|
#include <string.h>
|
|
-#include <unistd.h>
|
|
-#include <json.h>
|
|
+#include <json-c/json.h>
|
|
#include "crypto.h"
|
|
#include "b64/cencode.h"
|
|
#include "b64/cdecode.h"
|
|
|