diff --git a/library/ccm.c b/library/ccm.c index 6700dc743..6b137d7bf 100644 --- a/library/ccm.c +++ b/library/ccm.c @@ -91,7 +91,7 @@ int mbedtls_ccm_setkey(mbedtls_ccm_context *ctx, } #endif - return 0; + return ret; } /*