File tree 1 file changed +2
-2
lines changed
cosmwasm/packages/quartz-tee-ra/src/intel_sgx
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,12 +90,12 @@ mod tests {
90
90
let certificate_verifier = TlsCertificateChainVerifier :: new ( root_ca) ;
91
91
let identities = [ TrustedMrEnclaveIdentity :: new (
92
92
MrEnclave :: from_hex ( "840d61b0585dc8b4dc90f53af293c760fda06bee75978a6a86263ffb296423f4" )
93
- . unwrap ( ) ,
93
+ . expect ( "malformed MRENCLAVE hex" ) ,
94
94
[ "" ; 0 ] ,
95
95
[ "INTEL-SA-00334" , "INTEL-SA-00615" ] ,
96
96
)
97
97
. into ( ) ] ;
98
- let verifier = EvidenceVerifier :: new ( certificate_verifier, & identities, None ) ;
98
+ let verifier = EvidenceVerifier :: new ( certificate_verifier, identities. as_ref ( ) , None ) ;
99
99
let quote_bytes = include_bytes ! ( "../../data/hw_quote.dat" ) ;
100
100
let quote = Quote3 :: try_from ( quote_bytes. as_ref ( ) ) . expect ( "Failed to parse quote" ) ;
101
101
let collateral = collateral ( TCB_INFO_JSON , QE_IDENTITY_JSON ) ;
You can’t perform that action at this time.
0 commit comments