From a1cdf3c75fd5c644607b1877207d1d5b507a5bb9 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 27 Jul 2005 18:10:56 +0000 Subject: Converted all m_free to xfree etc. --- cipher/cipher.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cipher/cipher.c') diff --git a/cipher/cipher.c b/cipher/cipher.c index 950f625cf..591ce208e 100644 --- a/cipher/cipher.c +++ b/cipher/cipher.c @@ -389,10 +389,10 @@ cipher_open( int algo, int mode, int secure ) /* ? perform selftest here and mark this with a flag in cipher_table ? */ - hd = secure ? m_alloc_secure_clear( sizeof *hd + hd = secure ? xmalloc_secure_clear( sizeof *hd + cipher_table[i].contextsize - sizeof(PROPERLY_ALIGNED_TYPE) ) - : m_alloc_clear( sizeof *hd + cipher_table[i].contextsize + : xmalloc_clear( sizeof *hd + cipher_table[i].contextsize - sizeof(PROPERLY_ALIGNED_TYPE) ); hd->algo = algo; hd->blocksize = cipher_table[i].blocksize; @@ -421,7 +421,7 @@ cipher_open( int algo, int mode, int secure ) void cipher_close( CIPHER_HANDLE c ) { - m_free(c); + xfree(c); } -- cgit