Fix return type of internal function

Fixes incomplete change in f4f01b6b7ad1
diff --git a/library/chachapoly.c b/library/chachapoly.c
index ba3cf3c..8f78588 100644
--- a/library/chachapoly.c
+++ b/library/chachapoly.c
@@ -74,7 +74,7 @@
  *
  * \param ctx       The ChaCha20-Poly1305 context.
  */
-static void chachapoly_pad_ciphertext( mbedtls_chachapoly_context *ctx )
+static int chachapoly_pad_ciphertext( mbedtls_chachapoly_context *ctx )
 {
     uint32_t partial_block_len = (uint32_t) ( ctx->ciphertext_len % 16U );
     unsigned char zeroes[15];