Hi,

I'm using the Windows version of OpenSSL as found here:

http://www.slproweb.com/products/Win32OpenSSL.html

I first got a wrapper that makes OpenSSL available to python to work.  

https://launchpad.net/pyopenssl

But I need a C interface to investigate and understand OpenSSL (yes the
heart 
of the above python code is in fact C, but the code is very large and
everything 
returns values like pyObject).  

I next tried this (old) C code:  http://www.rtfm.com/openssl-examples/

Unlike the 'python' code, the C code from rtfm [nice name] crashes - or
rather the 
server produces a trace (that gets mangled inside some cygwin code) and the
client
is unable to interact successfully with the server.

[quote]
L:\MyID\Projects\OpenSSL\examples\one>mserver
      5 [main] mserver 4668 _cygtls::handle_exceptions: Error while dumping
stat
e (probably corrupted stack)
Problem accepting

L:\MyID\Projects\OpenSSL\examples\one>
[/quote]

Any ideas as to the failure above?  I mean yes, I know what "problem
accepting"
means.  The problem is to understand this in more detail.

Still, this code is old so maybe I should move on.  I've been googling of
course
but any pointers to good C example code for OpenSSL?

thanx - pat
-- 
View this message in context: 
http://www.nabble.com/example-code-for-OpenSSL-tp24040969p24040969.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to