BSIZE -> des_BSIZE to avoid conflicts with AIX jfs/fsparam.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8884 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -223,7 +223,7 @@ YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
 | 
			
		||||
 | 
			
		||||
/* used in des_read and des_write */
 | 
			
		||||
#define MAXWRITE	(1024*16)
 | 
			
		||||
#define BSIZE		(MAXWRITE+4)
 | 
			
		||||
#define des_BSIZE	(MAXWRITE+4)
 | 
			
		||||
 | 
			
		||||
#define c2l(c,l)	(l =((DES_LONG)(*((c)++)))    , \
 | 
			
		||||
			 l|=((DES_LONG)(*((c)++)))<< 8L, \
 | 
			
		||||
 
 | 
			
		||||
@@ -87,17 +87,17 @@ des_cblock (*iv);
 | 
			
		||||
 | 
			
		||||
	if (tmpbuf == NULL)
 | 
			
		||||
		{
 | 
			
		||||
		tmpbuf=(char *)malloc(BSIZE);
 | 
			
		||||
		tmpbuf=(char *)malloc(des_BSIZE);
 | 
			
		||||
		if (tmpbuf == NULL) return(-1);
 | 
			
		||||
		}
 | 
			
		||||
	if (net == NULL)
 | 
			
		||||
		{
 | 
			
		||||
		net=(unsigned char *)malloc(BSIZE);
 | 
			
		||||
		net=(unsigned char *)malloc(des_BSIZE);
 | 
			
		||||
		if (net == NULL) return(-1);
 | 
			
		||||
		}
 | 
			
		||||
	if (unnet == NULL)
 | 
			
		||||
		{
 | 
			
		||||
		unnet=(char *)malloc(BSIZE);
 | 
			
		||||
		unnet=(char *)malloc(des_BSIZE);
 | 
			
		||||
		if (unnet == NULL) return(-1);
 | 
			
		||||
		}
 | 
			
		||||
	/* left over data from last decrypt */
 | 
			
		||||
 
 | 
			
		||||
@@ -83,7 +83,7 @@ des_cblock (*iv);
 | 
			
		||||
 | 
			
		||||
	if (outbuf == NULL)
 | 
			
		||||
		{
 | 
			
		||||
		outbuf=(char *)malloc(BSIZE+HDRSIZE);
 | 
			
		||||
		outbuf=(char *)malloc(des_BSIZE+HDRSIZE);
 | 
			
		||||
		if (outbuf == NULL) return(-1);
 | 
			
		||||
		}
 | 
			
		||||
	/* If we are sending less than 8 bytes, the same char will look
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user