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
/
des.c
diff --git
a/crypto/des/des.c
b/crypto/des/des.c
index 5cd337301a399c81e0793180119437fff885fce5..aabd01cc8a6aa8e79ffff50ede81ae5770776819 100644
(file)
--- a/
crypto/des/des.c
+++ b/
crypto/des/des.c
@@
-484,7
+484,7
@@
void doencryption(void)
if (feof(DES_IN))
{
for (i=7-rem; i>0; i--)
- RAND_bytes(buf + l++, 1);
+ RAND_
pseudo_
bytes(buf + l++, 1);
buf[l++]=rem;
ex=1;
len+=rem;