projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
As ftruncate is not availabe on all platforms, switch back to
[oweals/openssl.git]
/
crypto
/
des
/
enc_writ.c
diff --git
a/crypto/des/enc_writ.c
b/crypto/des/enc_writ.c
index 8ded146f8b432d1ad33cd051e6d68364ec7cc5ea..892f15e2d709706a08fe4492af868986e9f532ac 100644
(file)
--- a/
crypto/des/enc_writ.c
+++ b/
crypto/des/enc_writ.c
@@
-130,7
+130,7
@@
int des_enc_write(int fd, const void *_buf, int len,
{
cp=shortbuf;
memcpy(shortbuf,buf,len);
- RAND_bytes(shortbuf+len, 8-len);
+ RAND_
pseudo_
bytes(shortbuf+len, 8-len);
rnum=8;
}
else