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