@@ -235,10 +235,10 @@ fn run_simulate_remote_attestation<E: EnclaveCommandAPI<S>, S: CommitStore>(
235235#[ derive( Clone , Debug , Parser , PartialEq ) ]
236236pub struct SgxCollateralService {
237237 #[ clap(
238- long = "pcss_url " ,
239- help = "PCSS URL (default: https://api.trustedservices.intel.com/)"
238+ long = "pccs_url " ,
239+ help = "PCCS URL (default: https://api.trustedservices.intel.com/)"
240240 ) ]
241- pub pcss_url : Option < String > ,
241+ pub pccs_url : Option < String > ,
242242 #[ clap(
243243 long = "certs_service_url" ,
244244 help = "Certs Service URL (default: https://certificates.trustedservices.intel.com/)"
@@ -249,8 +249,8 @@ pub struct SgxCollateralService {
249249}
250250
251251impl SgxCollateralService {
252- pub fn get_pcss_url ( & self ) -> String {
253- self . pcss_url
252+ pub fn get_pccs_url ( & self ) -> String {
253+ self . pccs_url
254254 . clone ( )
255255 . unwrap_or_else ( || "https://api.trustedservices.intel.com/" . to_string ( ) )
256256 }
@@ -284,7 +284,7 @@ fn run_dcap_remote_attestation<E: EnclaveCommandAPI<S>, S: CommitStore>(
284284 dcap:: run_dcap_ra (
285285 enclave. get_key_manager ( ) ,
286286 Address :: from_hex_string ( & cmd. enclave_key ) ?,
287- & cmd. collateral_service . get_pcss_url ( ) ,
287+ & cmd. collateral_service . get_pccs_url ( ) ,
288288 & cmd. collateral_service . get_certs_service_url ( ) ,
289289 cmd. collateral_service . is_early_update ,
290290 ) ?;
@@ -380,7 +380,7 @@ fn run_zkdcap_remote_attestation<E: EnclaveCommandAPI<S>, S: CommitStore>(
380380 mode,
381381 cmd. get_zkvm_program ( ) ?. as_ref ( ) ,
382382 cmd. disable_pre_execution ,
383- & cmd. collateral_service . get_pcss_url ( ) ,
383+ & cmd. collateral_service . get_pccs_url ( ) ,
384384 & cmd. collateral_service . get_certs_service_url ( ) ,
385385 cmd. collateral_service . is_early_update ,
386386 ) ?;
0 commit comments