From f2a752940307f8aeb65040e938a311ea92ea1305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 5 Feb 2019 13:13:21 +0100 Subject: [PATCH] Fix double return statement in cipher.c This was introduced in ce1ddee13a171 --- library/cipher.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/cipher.c b/library/cipher.c index 16037fb05..5d7e53f39 100644 --- a/library/cipher.c +++ b/library/cipher.c @@ -1100,8 +1100,6 @@ int mbedtls_cipher_write_tag( mbedtls_cipher_context_t *ctx, * operations, we currently don't make it * accessible through the cipher layer. */ return( MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE ); - - return( 0 ); } #endif /* MBEDTLS_USE_PSA_CRYPTO */