Remove some references which called malloc and free instead of Malloc and Free.
[openssl.git] / crypto / des / enc_read.c
index 9fac3b24c17dbc4b15315fe1d60b8dc9c9d058a0..265e9ca36fbf67a8e3e58dd2ee795602d3cfb354 100644 (file)
@@ -58,6 +58,7 @@
 
 #include <stdio.h>
 #include <errno.h>
+#include "cryptlib.h"
 #include "des_locl.h"
 
 /* This has some uglies in it but it works - even over sockets. */
@@ -87,17 +88,17 @@ des_cblock iv;
 
        if (tmpbuf == NULL)
                {
-               tmpbuf=(char *)malloc(BSIZE);
+               tmpbuf=(char *)Malloc(BSIZE);
                if (tmpbuf == NULL) return(-1);
                }
        if (net == NULL)
                {
-               net=(unsigned char *)malloc(BSIZE);
+               net=(unsigned char *)Malloc(BSIZE);
                if (net == NULL) return(-1);
                }
        if (unnet == NULL)
                {
-               unnet=(char *)malloc(BSIZE);
+               unnet=(char *)Malloc(BSIZE);
                if (unnet == NULL) return(-1);
                }
        /* left over data from last decrypt */