Restore MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED as default ret.

Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
diff --git a/library/ccm.c b/library/ccm.c
index 7574bdc..b7c8f6d 100644
--- a/library/ccm.c
+++ b/library/ccm.c
@@ -331,7 +331,7 @@
                         unsigned char *output, size_t output_size,
                         size_t *output_len )
 {
-    int ret;
+    int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
     unsigned char i;
     size_t use_len, offset, olen;
 
@@ -431,7 +431,7 @@
 int mbedtls_ccm_finish( mbedtls_ccm_context *ctx,
                         unsigned char *tag, size_t tag_len )
 {
-    int ret;
+    int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
     unsigned char i;
 
     if( ctx->state & CCM_STATE__ERROR )