diff --git a/library/ccm.c b/library/ccm.c index 6700dc743d..6b137d7bf9 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; } /*