summaryrefslogtreecommitdiffstats
path: root/crypto/des/enc_read.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-03-14 01:16:45 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-03-14 01:16:45 +0000
commit199d59e5a1683aec183bf4eacbc096663357c46b (patch)
tree5497c32bc3f690a6a503699c8dd0551035a29b89 /crypto/des/enc_read.c
parentb29524c15b33fc5fbd630751226b896ac91967f8 (diff)
Remove some references which called malloc and free instead of Malloc and Free.
Diffstat (limited to 'crypto/des/enc_read.c')
-rw-r--r--crypto/des/enc_read.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/des/enc_read.c b/crypto/des/enc_read.c
index 9fac3b24c1..265e9ca36f 100644
--- a/crypto/des/enc_read.c
+++ b/crypto/des/enc_read.c
@@ -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 */