projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove some references which called malloc and free instead of Malloc and Free.
[openssl.git]
/
crypto
/
des
/
enc_read.c
diff --git
a/crypto/des/enc_read.c
b/crypto/des/enc_read.c
index 9fac3b24c17dbc4b15315fe1d60b8dc9c9d058a0..265e9ca36fbf67a8e3e58dd2ee795602d3cfb354 100644
(file)
--- a/
crypto/des/enc_read.c
+++ b/
crypto/des/enc_read.c
@@
-58,6
+58,7
@@
#include <stdio.h>
#include <errno.h>
#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. */
#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)
{
if (tmpbuf == NULL)
{
- tmpbuf=(char *)
m
alloc(BSIZE);
+ tmpbuf=(char *)
M
alloc(BSIZE);
if (tmpbuf == NULL) return(-1);
}
if (net == NULL)
{
if (tmpbuf == NULL) return(-1);
}
if (net == NULL)
{
- net=(unsigned char *)
m
alloc(BSIZE);
+ net=(unsigned char *)
M
alloc(BSIZE);
if (net == NULL) return(-1);
}
if (unnet == NULL)
{
if (net == NULL) return(-1);
}
if (unnet == NULL)
{
- unnet=(char *)
m
alloc(BSIZE);
+ unnet=(char *)
M
alloc(BSIZE);
if (unnet == NULL) return(-1);
}
/* left over data from last decrypt */
if (unnet == NULL) return(-1);
}
/* left over data from last decrypt */