Merge pull request #44 from mpg/fix-double-return

Fix double return statement in cipher.c
This commit is contained in:
Jaeden Amero 2019-02-06 15:05:06 +00:00 committed by GitHub
commit ae2f5f1795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 */