[cs631apue] Question About the RAND_bytes

bzhang41 bzhang41 at stevens.edu
Sat Dec 3 17:58:06 EST 2016


Dear all,

Do you know why I cannot compile the program, when I use the 
RAND_bytes(3) to generate the salt ?

I include the header #include <openssl/rand.h>,
but it still says undefined reference to `RAND_bytes`. I didn't find any 
solution on the web.
Can anyone tell me how to fix it ?


Thanks
Bo


More information about the cs631apue mailing list