Removed PSA_DOES_NOT_EXIST from psa_export_public_key

The implementation should return PSA_ERROR_INVALID_HANDLE instead.
This commit is contained in:
Adrian L. Shaw 2019-08-06 17:12:44 +01:00
parent 88c51adfc0
commit e926e7370f

View file

@ -674,7 +674,6 @@ psa_status_t psa_export_key(psa_key_handle_t handle,
*
* \retval #PSA_SUCCESS
* \retval #PSA_ERROR_INVALID_HANDLE
* \retval #PSA_ERROR_DOES_NOT_EXIST
* \retval #PSA_ERROR_INVALID_ARGUMENT
* The key is neither a public key nor a key pair.
* \retval #PSA_ERROR_NOT_SUPPORTED