[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
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:
parent
f9258b4e55
commit
005d529757
1 changed files with 1 additions and 7 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue