teaclave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ms...@apache.org
Subject [incubator-teaclave] branch develop updated: [attestation] Minor polish
Date Mon, 02 Mar 2020 23:32:51 GMT
This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git


The following commit(s) were added to refs/heads/develop by this push:
     new 9943890  [attestation] Minor polish
9943890 is described below

commit 9943890ee3f5f502c2aeca690eea5c6dca122dd0
Author: Mingshen Sun <bob@mssun.me>
AuthorDate: Sun Mar 1 11:27:56 2020 -0800

    [attestation] Minor polish
---
 attestation/src/attestation.rs | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/attestation/src/attestation.rs b/attestation/src/attestation.rs
index 8a98a49..c7ddf07 100644
--- a/attestation/src/attestation.rs
+++ b/attestation/src/attestation.rs
@@ -38,10 +38,7 @@ impl RemoteAttestation {
 
     pub fn config(mut self, attestation_config: Arc<AttestationConfig>) -> Self
{
         self.attestation_config = attestation_config;
-        Self {
-            attestation_config: self.attestation_config,
-            attested_tls_config: self.attested_tls_config,
-        }
+        Self { ..self }
     }
 
     pub fn generate_and_endorse(self) -> Result<Self> {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org


Mime
View raw message