@@ -147,8 +147,8 @@ impl Context {
147
147
} ,
148
148
) ?;
149
149
150
- let certify_info = Context :: ffi_data_to_owned ( certify_info_ptr) ;
151
- let signature = Context :: ffi_data_to_owned ( signature_ptr) ;
150
+ let certify_info = Context :: ffi_data_to_owned ( certify_info_ptr) ? ;
151
+ let signature = Context :: ffi_data_to_owned ( signature_ptr) ? ;
152
152
Ok ( (
153
153
Attest :: try_from ( AttestBuffer :: try_from ( certify_info) ?) ?,
154
154
Signature :: try_from ( signature) ?,
@@ -272,8 +272,8 @@ impl Context {
272
272
} ,
273
273
) ?;
274
274
275
- let certify_info = Context :: ffi_data_to_owned ( certify_info_ptr) ;
276
- let signature = Context :: ffi_data_to_owned ( signature_ptr) ;
275
+ let certify_info = Context :: ffi_data_to_owned ( certify_info_ptr) ? ;
276
+ let signature = Context :: ffi_data_to_owned ( signature_ptr) ? ;
277
277
Ok ( (
278
278
Attest :: try_from ( AttestBuffer :: try_from ( certify_info) ?) ?,
279
279
Signature :: try_from ( signature) ?,
@@ -313,8 +313,8 @@ impl Context {
313
313
} ,
314
314
) ?;
315
315
316
- let quoted = Context :: ffi_data_to_owned ( quoted_ptr) ;
317
- let signature = Context :: ffi_data_to_owned ( signature_ptr) ;
316
+ let quoted = Context :: ffi_data_to_owned ( quoted_ptr) ? ;
317
+ let signature = Context :: ffi_data_to_owned ( signature_ptr) ? ;
318
318
Ok ( (
319
319
Attest :: try_from ( AttestBuffer :: try_from ( quoted) ?) ?,
320
320
Signature :: try_from ( signature) ?,
@@ -426,8 +426,8 @@ impl Context {
426
426
} ,
427
427
) ?;
428
428
429
- let timeinfo = Context :: ffi_data_to_owned ( timeinfo_ptr) ;
430
- let signature = Context :: ffi_data_to_owned ( signature_ptr) ;
429
+ let timeinfo = Context :: ffi_data_to_owned ( timeinfo_ptr) ? ;
430
+ let signature = Context :: ffi_data_to_owned ( signature_ptr) ? ;
431
431
Ok ( (
432
432
Attest :: try_from ( AttestBuffer :: try_from ( timeinfo) ?) ?,
433
433
Signature :: try_from ( signature) ?,
0 commit comments