PEM pass phrase hard coded

2003-11-10 Thread cau.m
Hi, When i run my SSL server, it keeps asking the PEM pass phrase every time it is started. But i want my server to be loaded automaticaly, wihtout need to type everytime the password. Is there a way to put this password inside the server code and eliminate the need of type the pass everytime ti

SSL_write() must be done twice to work properly

2003-11-07 Thread cau.m
Hi everyone, I'm developing a communication between sockets and i'm having some problems with the openssl and the select() function. The problem is that i have to call the SSL_write() function twice to make the other side read the buffer. Anyone has any idea of how can i overcome this problem?