mirror of https://github.com/microsoft/vcpkg.git
[azure-security-attestation-cpp] Patch for GCC 15 undeclared uint8_t (#49480)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
dc81b4760c
commit
496e9218c9
|
|
@ -0,0 +1,37 @@
|
|||
diff --git a/sdk/attestation/azure-security-attestation/src/private/crypto/inc/crypto.hpp b/sdk/attestation/azure-security-attestation/src/private/crypto/inc/crypto.hpp
|
||||
index 9a98f204e..7da309db5 100644
|
||||
--- a/sdk/attestation/azure-security-attestation/src/private/crypto/inc/crypto.hpp
|
||||
+++ b/sdk/attestation/azure-security-attestation/src/private/crypto/inc/crypto.hpp
|
||||
@@ -2,6 +2,8 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#pragma once
|
||||
+
|
||||
+#include <cstdint>
|
||||
#include <ctime>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
@@ -39,17 +41,18 @@ namespace Azure { namespace Security { namespace Attestation { namespace _detail
|
||||
* @return false The signature did not match the payload.
|
||||
*/
|
||||
virtual bool VerifySignature(
|
||||
- std::vector<uint8_t> const& payload,
|
||||
- std::vector<uint8_t> const& signature) const = 0;
|
||||
+ std::vector<std::uint8_t> const& payload,
|
||||
+ std::vector<std::uint8_t> const& signature) const = 0;
|
||||
/**
|
||||
* @brief Signs a buffer with an Asymmetric private key. Only valid for private asymmetric
|
||||
* keys.
|
||||
*
|
||||
* @param bufferToSign The buffer to be signed.
|
||||
- * @return std::vector<uint8_t> Returns the signature of that buffer, signed with the private
|
||||
- * key.
|
||||
+ * @return std::vector<std::uint8_t> Returns the signature of that buffer, signed with the
|
||||
+ * private key.
|
||||
*/
|
||||
- virtual std::vector<uint8_t> SignBuffer(std::vector<uint8_t> const& bufferToSign) const = 0;
|
||||
+ virtual std::vector<std::uint8_t> SignBuffer(
|
||||
+ std::vector<std::uint8_t> const& bufferToSign) const = 0;
|
||||
/**
|
||||
* @brief Exports the current asymmetric key as a private key (only valid for private
|
||||
* asymmetric keys)
|
||||
|
|
@ -11,6 +11,7 @@ vcpkg_from_github(
|
|||
context_syntax.patch
|
||||
useragent.patch
|
||||
set_version.patch
|
||||
cstdint.patch
|
||||
)
|
||||
|
||||
file(GLOB_RECURSE unused "${SOURCE_PATH}/cgmanifest.json")
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
],
|
||||
"name": "azure-security-attestation-cpp",
|
||||
"version-semver": "1.1.0",
|
||||
"port-version": 7,
|
||||
"port-version": 8,
|
||||
"description": [
|
||||
"Microsoft Azure Attestation Service SDK for C++",
|
||||
"This library provides API access to the Microsoft Azure Attestation service."
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4bfd20ab870927eebca73e3e0460db2f7ddaf3da",
|
||||
"version-semver": "1.1.0",
|
||||
"port-version": 8
|
||||
},
|
||||
{
|
||||
"git-tree": "e7e77ecada6df45dc792ff0cc3886ea8599a8400",
|
||||
"version-semver": "1.1.0",
|
||||
|
|
|
|||
|
|
@ -554,7 +554,7 @@
|
|||
},
|
||||
"azure-security-attestation-cpp": {
|
||||
"baseline": "1.1.0",
|
||||
"port-version": 7
|
||||
"port-version": 8
|
||||
},
|
||||
"azure-security-keyvault-administration-cpp": {
|
||||
"baseline": "4.0.0-beta.5",
|
||||
|
|
|
|||
Loading…
Reference in New Issue