Hi,
I ported/compiled openssl into vxworks with goAhead webserver. Using the
HTTP works fine without any problems! However, when accessing the same page
with HTTPS, vxworks gets an exception. After some debugging it looks like
its related to the RAND library with openssl. Typing "RAND_status" at the
terminal will cause the same crash!
The ">>>" indicates where the crash happens (when attempting to access
HTTPS).
int ssl23_accept(SSL *s)
{
BUF_MEM *buf;
unsigned long Time=time(NULL);
void (*cb)(const SSL *ssl,int type,int val)=NULL;
int ret= -1;
int new_state,state;
>>> RAND_add(&Time,sizeof(Time),0);
ERR_clear_error();
clear_sys_error();
....
It looks like I don't have the RAND seeded properly. How can I fix this? Did
anyone have this problem?
Thanks
Haitham
Haitham Al-Beik
"Quality is not a function of time spent,
but a function of the effectiveness of the effort."
Work:
Stratus Technologies
Software Engineering
111 Powdermill Road
Maynard, MA 01754-3409
Tel: 978-461-7783
Email: [EMAIL PROTECTED]
College:
Worcester Polytechnic Institute
Electrical and Computer Engineering Department
100 Institute Road
Worcester, MA 01609
Email: [EMAIL PROTECTED] (Engineering)
Email: [EMAIL PROTECTED] (General)
Home:
471-1 Boston Turnpike
Shrewsbury, MA 01545
Tel: 508-845-9742
Email: [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]