[Assignment-7] remove redundant code
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m4s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m1s

This commit is contained in:
Sascha Tommasone 2024-07-08 12:44:02 +02:00
parent f9258b4e55
commit 005d529757
Signed by: saschato
GPG key ID: 751068A86FCAA217

View file

@ -206,13 +206,7 @@ sgx_status_t get_public_key(const uint8_t *sealed, uint32_t sealed_size, uint8_t
}
// unseal public key
sgx_status_t status;
if((status = unseal_key_pair(sealed, NULL, (sgx_ec256_public_t *)public)) != SGX_SUCCESS) {
return status;
}
// return success
return status;
return unseal_key_pair(sealed, NULL, (sgx_ec256_public_t *)public)
}
/*