From 738723a1cd20b24fc667a457163a4aa6617dc182 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 10 Feb 2022 09:53:45 +0900 Subject: Clean up for removal of memory guard support. * mpi/mpiutil.c (_gcry_mpi_m_check): Remove. * src/g10lib.h (_gcry_check_heap): Remove. * src/global.c (_gcry_check_heap): Remove. * src/mpi.h (mpi_m_check): Remove. -- GnuPG-bug-id: 5822 Signed-off-by: NIIBE Yutaka --- mpi/mpiutil.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'mpi') diff --git a/mpi/mpiutil.c b/mpi/mpiutil.c index 74fbac37..d5a1b8a8 100644 --- a/mpi/mpiutil.c +++ b/mpi/mpiutil.c @@ -110,13 +110,6 @@ _gcry_mpi_alloc( unsigned nlimbs ) return a; } -void -_gcry_mpi_m_check( gcry_mpi_t a ) -{ - _gcry_check_heap(a); - _gcry_check_heap(a->d); -} - gcry_mpi_t _gcry_mpi_alloc_secure( unsigned nlimbs ) { -- cgit v1.2.1