Revert the size_t modifications from HEAD that had led to more
knock-on work than expected - they've been extracted into a patch
series that can be completed elsewhere, or in a different branch,
before merging back to HEAD.
diff --git a/crypto/mem_dbg.c b/crypto/mem_dbg.c
index f80060d..131669a 100644
--- a/crypto/mem_dbg.c
+++ b/crypto/mem_dbg.c
@@ -478,7 +478,7 @@
 
 
 static unsigned long break_order_num=0;
-void CRYPTO_dbg_malloc(void *addr, size_t num, const char *file, int line,
+void CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line,
 	int before_p)
 	{
 	MEM *m,*mm;
@@ -602,8 +602,8 @@
 		}
 	}
 
-void CRYPTO_dbg_realloc(void *addr1, void *addr2, size_t num,
-			const char *file, int line, int before_p)
+void CRYPTO_dbg_realloc(void *addr1, void *addr2, int num,
+	const char *file, int line, int before_p)
 	{
 	MEM m,*mp;
 
@@ -666,7 +666,7 @@
 	char buf[1024];
 	char *bufp = buf;
 	APP_INFO *amip;
-	size_t ami_cnt;
+	int ami_cnt;
 	struct tm *lcl = NULL;
 	CRYPTO_THREADID ti;
 
@@ -712,7 +712,7 @@
 
 	do
 		{
-		size_t buf_len;
+		int buf_len;
 		int info_len;
 
 		ami_cnt++;