|
@@ -35,7 +35,7 @@ namespace protobufLAInitiator
|
|
|
// process msg2 and generate msg3
|
|
|
Decryptor_exchange_report_wrapper(own_enclave_id, &ret_status, &dh_msg2, &dh_msg3, session_id);
|
|
|
if(ret_status!=SGX_SUCCESS)
|
|
|
- return 0x35;
|
|
|
+ return ret_status;
|
|
|
|
|
|
// convert msg3 sgx_dh_msg3_t object to a protobuf msg3 object.
|
|
|
protobufSgxTransformsInitiator::encode_msg3_to_protobuf(protobuf_msg3, &dh_msg3);
|