24 lines
873 B
Diff
24 lines
873 B
Diff
|
diff -Nru gnupg-1.4.3-old/util/memory.c gnupg-1.4.3/util/memory.c
|
||
|
--- gnupg-1.4.3-old/util/memory.c 2006-04-06 23:28:07.875803000 +0000
|
||
|
+++ gnupg-1.4.3/util/memory.c 2006-04-06 23:29:02.695229000 +0000
|
||
|
@@ -509,15 +509,15 @@
|
||
|
if( len >= n ) /* we don't shrink for now */
|
||
|
return a;
|
||
|
if( p[-1] == MAGIC_SEC_BYTE )
|
||
|
- b = FNAME(alloc_secure_clear)(n FNAMEARG);
|
||
|
+ b = FNAMEXM(alloc_secure_clear)(n FNAMEARG);
|
||
|
else
|
||
|
- b = FNAME(alloc_clear)(n FNAMEARG);
|
||
|
+ b = FNAMEXM(alloc_clear)(n FNAMEARG);
|
||
|
FNAME(check)(NULL FNAMEARG);
|
||
|
memcpy(b, a, len );
|
||
|
- FNAME(free)(p FNAMEARG);
|
||
|
+ FNAMEX(free)(p FNAMEARG);
|
||
|
}
|
||
|
else
|
||
|
- b = FNAME(alloc)(n FNAMEARG);
|
||
|
+ b = FNAMEXM(alloc)(n FNAMEARG);
|
||
|
#else
|
||
|
if( m_is_secure(a) ) {
|
||
|
if( !(b = secmexrealloc( a, n )) )
|