mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-26 09:04:47 +02:00
fixup! refactor(intel-dcap-api): split client.rs into smaller files
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
4501b3421c
commit
1a392e800a
8 changed files with 24 additions and 23 deletions
|
@ -1,6 +1,8 @@
|
|||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright (c) 2025 Matter Labs
|
||||
|
||||
//! PCK Certificate Revocation List
|
||||
|
||||
use super::ApiClient; // Import from parent module
|
||||
use crate::{
|
||||
error::{check_status, IntelApiError},
|
||||
|
@ -52,8 +54,8 @@ impl ApiClient {
|
|||
|
||||
let issuer_chain = self.get_required_header(
|
||||
&response,
|
||||
"SGX-PCK-CRL-Issuer-Chain", // v4 name
|
||||
Some("SGX-PCK-CRL-Issuer-Chain"), // v3 name
|
||||
"SGX-PCK-CRL-Issuer-Chain",
|
||||
Some("SGX-PCK-CRL-Issuer-Chain"),
|
||||
)?;
|
||||
|
||||
// Response body is PEM or DER CRL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue