>    RAND_seed(seed, ::strlen(seed));
>    RAND_bytes(buf, keySize / 8);

I don’t know where you are getting the seed, but it is typically binary data, 
not a C string.

If you are using 1.1.0 or later, you do not need to seed things.

Reply via email to