@@ -147,8 +147,8 @@ impl Context {
147147 } ,
148148 ) ?;
149149
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) ? ;
152152 Ok ( (
153153 Attest :: try_from ( AttestBuffer :: try_from ( certify_info) ?) ?,
154154 Signature :: try_from ( signature) ?,
@@ -272,8 +272,8 @@ impl Context {
272272 } ,
273273 ) ?;
274274
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) ? ;
277277 Ok ( (
278278 Attest :: try_from ( AttestBuffer :: try_from ( certify_info) ?) ?,
279279 Signature :: try_from ( signature) ?,
@@ -313,8 +313,8 @@ impl Context {
313313 } ,
314314 ) ?;
315315
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) ? ;
318318 Ok ( (
319319 Attest :: try_from ( AttestBuffer :: try_from ( quoted) ?) ?,
320320 Signature :: try_from ( signature) ?,
@@ -426,8 +426,8 @@ impl Context {
426426 } ,
427427 ) ?;
428428
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) ? ;
431431 Ok ( (
432432 Attest :: try_from ( AttestBuffer :: try_from ( timeinfo) ?) ?,
433433 Signature :: try_from ( signature) ?,
0 commit comments