remove printlns
This commit is contained in:
parent
c19c42ccd7
commit
deeeb32878
@ -126,8 +126,6 @@ impl RaTlsCertificate for rustls::Certificate {
|
||||
|
||||
let report_oid = Oid::from(&REPORT_OID).unwrap();
|
||||
|
||||
println!("{:?}", x509);
|
||||
|
||||
if let Ok(Some(report)) = x509.get_extension_unique(&report_oid) {
|
||||
let quote = SGXQuote::from_slice(report.value)?;
|
||||
|
||||
@ -145,8 +143,6 @@ impl RaTlsCertificate for rustls::Certificate {
|
||||
return Err("Invalid quote report data".into());
|
||||
}
|
||||
|
||||
println!("x509 pk matches report data");
|
||||
|
||||
config.is_allowed_quote("e)?;
|
||||
|
||||
Ok(())
|
||||
|
@ -56,16 +56,6 @@ impl InstanceMeasurement {
|
||||
}
|
||||
|
||||
pub(crate) fn check_quote_measurements(&self, quote: &SGXQuote) -> bool {
|
||||
println!("mrsigner {}", quote.mrsigner());
|
||||
println!("mrenclave {}", quote.mrenclave());
|
||||
println!("productid {}", quote.product_id());
|
||||
println!("version {}", quote.version());
|
||||
println!("-----------------------------------------------------------------");
|
||||
println!("mrsigners {:?}", self.mrsigners);
|
||||
println!("mrenclaves {:?}", self.mrenclaves);
|
||||
println!("product_ids {:?}", self.product_ids);
|
||||
println!("versions {:?}", self.versions);
|
||||
|
||||
let mut result = false;
|
||||
if let Some(mrsigners) = &self.mrsigners {
|
||||
result = true;
|
||||
|
Loading…
Reference in New Issue
Block a user