Fix compiler warning: unreachable code

Signed-off-by: Sergey <sergio_nsk@yahoo.de>
This commit is contained in:
Sergey 2023-02-11 18:20:20 -07:00 committed by GitHub
parent a15b405a46
commit 26f53f107e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1060,8 +1060,9 @@ psa_status_t psa_driver_wrapper_cipher_decrypt_setup(
}
return status;
#endif /* MBEDTLS_PSA_BUILTIN_CIPHER */
#else /* MBEDTLS_PSA_BUILTIN_CIPHER */
return PSA_ERROR_NOT_SUPPORTED;
#endif /* MBEDTLS_PSA_BUILTIN_CIPHER */
/* Add cases for opaque driver here */
#if defined(PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT)