mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:28:59 +08:00
[azure-security-attestation-cpp] Use non-deprecated syntax (#40203)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
4fbb777929
commit
b8ac6696e3
13
ports/azure-security-attestation-cpp/context_syntax.patch
Normal file
13
ports/azure-security-attestation-cpp/context_syntax.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/sdk/attestation/azure-security-attestation/inc/azure/attestation/attestation_client.hpp b/sdk/attestation/azure-security-attestation/inc/azure/attestation/attestation_client.hpp
|
||||
index d7c44d494..31fcb8d3f 100644
|
||||
--- a/sdk/attestation/azure-security-attestation/inc/azure/attestation/attestation_client.hpp
|
||||
+++ b/sdk/attestation/azure-security-attestation/inc/azure/attestation/attestation_client.hpp
|
||||
@@ -176,7 +176,7 @@ namespace Azure { namespace Security { namespace Attestation {
|
||||
* specified service instance.
|
||||
*/
|
||||
Response<Models::OpenIdMetadata> GetOpenIdMetadata(
|
||||
- Azure::Core::Context const& context = Azure::Core::Context::ApplicationContext) const;
|
||||
+ Azure::Core::Context const& context = {}) const;
|
||||
|
||||
/**
|
||||
* @brief Retrieve the attestation signing certificates for this attestation instance.
|
@ -7,6 +7,8 @@ vcpkg_from_github(
|
||||
REF "azure-security-attestation_${VERSION}"
|
||||
SHA512 bf5c0ab830122838045e3e5ff03aae38f81082b50b9b0c61fa21a8c101a2fd98ad98b136d49702665d720f59baa6a89c8af3f161a44c09d24ad747fb1828cbca
|
||||
HEAD_REF main
|
||||
PATCHES
|
||||
context_syntax.patch
|
||||
)
|
||||
|
||||
if(EXISTS "${SOURCE_PATH}/sdk/attestation/azure-security-attestation")
|
||||
|
@ -5,7 +5,7 @@
|
||||
],
|
||||
"name": "azure-security-attestation-cpp",
|
||||
"version-semver": "1.1.0",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"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": "bdd0a170a44d77a8ff2753846cb23008c90ab7ac",
|
||||
"version-semver": "1.1.0",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "14d1242810e6d4de5c6fc523ae4d9ecb4904b58e",
|
||||
"version-semver": "1.1.0",
|
||||
|
@ -486,7 +486,7 @@
|
||||
},
|
||||
"azure-security-attestation-cpp": {
|
||||
"baseline": "1.1.0",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"azure-security-keyvault-administration-cpp": {
|
||||
"baseline": "4.0.0-beta.4",
|
||||
|
Loading…
Reference in New Issue
Block a user