summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/enc_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/des/enc_read.c')
-rw-r--r--src/lib/libcrypto/des/enc_read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/des/enc_read.c b/src/lib/libcrypto/des/enc_read.c
index 7399ff7269..af2d9177d2 100644
--- a/src/lib/libcrypto/des/enc_read.c
+++ b/src/lib/libcrypto/des/enc_read.c
@@ -103,17 +103,17 @@ int des_enc_read(int fd, void *buf, int len, des_key_schedule sched,
103 103
104 if (tmpbuf == NULL) 104 if (tmpbuf == NULL)
105 { 105 {
106 tmpbuf=Malloc(BSIZE); 106 tmpbuf=OPENSSL_malloc(BSIZE);
107 if (tmpbuf == NULL) return(-1); 107 if (tmpbuf == NULL) return(-1);
108 } 108 }
109 if (net == NULL) 109 if (net == NULL)
110 { 110 {
111 net=Malloc(BSIZE); 111 net=OPENSSL_malloc(BSIZE);
112 if (net == NULL) return(-1); 112 if (net == NULL) return(-1);
113 } 113 }
114 if (unnet == NULL) 114 if (unnet == NULL)
115 { 115 {
116 unnet=Malloc(BSIZE); 116 unnet=OPENSSL_malloc(BSIZE);
117 if (unnet == NULL) return(-1); 117 if (unnet == NULL) return(-1);
118 } 118 }
119 /* left over data from last decrypt */ 119 /* left over data from last decrypt */