Fix double return statement in cipher.c

This was introduced in ce1ddee13a
This commit is contained in:
Manuel Pégourié-Gonnard 2019-02-05 13:13:21 +01:00
parent acdf07c033
commit f2a7529403

View File

@ -1100,8 +1100,6 @@ int mbedtls_cipher_write_tag( mbedtls_cipher_context_t *ctx,
* operations, we currently don't make it * operations, we currently don't make it
* accessible through the cipher layer. */ * accessible through the cipher layer. */
return( MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE ); return( MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE );
return( 0 );
} }
#endif /* MBEDTLS_USE_PSA_CRYPTO */ #endif /* MBEDTLS_USE_PSA_CRYPTO */