projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More extension code. Incomplete support for subject and issuer alt
[openssl.git]
/
crypto
/
rand
/
randfile.c
diff --git
a/crypto/rand/randfile.c
b/crypto/rand/randfile.c
index 8ee23b61d112d0c5f40e36121bea4e9c6d8db829..3ae95f9012f1f3acb51a3787517a93d3815d1acb 100644
(file)
--- a/
crypto/rand/randfile.c
+++ b/
crypto/rand/randfile.c
@@
-84,7
+84,7
@@
long bytes;
i=stat(file,&sb);
/* If the state fails, put some crap in anyway */
- RAND_seed(
(unsigned char *)
&sb,sizeof(sb));
+ RAND_seed(&sb,sizeof(sb));
ret+=sizeof(sb);
if (i < 0) return(0);
if (bytes <= 0) return(ret);