From e926e7370fb59a0d4ce9266c266334deb8c88505 Mon Sep 17 00:00:00 2001 From: "Adrian L. Shaw" Date: Tue, 6 Aug 2019 17:12:44 +0100 Subject: [PATCH] Removed PSA_DOES_NOT_EXIST from psa_export_public_key The implementation should return PSA_ERROR_INVALID_HANDLE instead. --- include/psa/crypto.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/psa/crypto.h b/include/psa/crypto.h index 8a987e9b1..49f98b101 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -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