Ports from OpenSSL to SSLeay

2004-01-20 Thread S.Mehdi Sheikhalishahi
Hi All I develop a function (OpenSSL Compatible) that generate hash value of messages.Now I want to port it to SSLeay. 1 #include stdio.h 2 #include openssl/evp.h 3 void gen_digest(char* digest_name,char* input,unsigned char* digest,int* digest_len) 4 { 5

another Signal 11 (seg fault) in MD5_Init

2004-01-20 Thread kjfw
Hi all, I posted over a month ago about an Unexpected Signal: 11 in MD5_Init. The same error has happened again, but this time I have a bit more information: MD5_Init was called with a null pointer (c == 0), hence the seg fault. However, no calls to CRYPTO_malloc (or similar functions

Re: another Signal 11 (seg fault) in MD5_Init

2004-01-20 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 20 Jan 2004 21:19:03 +, [EMAIL PROTECTED] said: kjfw I posted over a month ago about an Unexpected Signal: 11 in kjfw MD5_Init. The same error has happened again, but this time I kjfw have a bit more information: MD5_Init was called with a null kjfw

Windows DLL naming inconsistency

2004-01-20 Thread Martin Germann
Hi, I noticed an inconsistency in the windows library names: When compiling OpenSSL on windows with gcc (MinGW), the resulting ssl library is called 'libssl32.dll'. Using MS Visual C++ (and Borland C++, i suppose), the resulting binary will be called 'ssleay32.dll'. This may cause a lot of

Re: another Signal 11 (seg fault) in MD5_Init

2004-01-20 Thread kjfw
I don't know if the context is being reused. I'm not calling these functions directly; I'm just using OpenSSL. Here's some of the output from the crash: Tue Jan 20 14:47:20 2004: SS: An unexpected exception has been detected in native code outside the VM. Tue Jan 20 14:47:20 2004: SS: