More extension code. Incomplete support for subject and issuer alt
[openssl.git] / crypto / rand / randfile.c
index 8ee23b61d112d0c5f40e36121bea4e9c6d8db829..3ae95f9012f1f3acb51a3787517a93d3815d1acb 100644 (file)
@@ -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);