467,867 Members | 1,280 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,867 developers. It's quick & easy.

Async example of SSL in M2Crypto


Has anyone tried the echod-async.py example in m2crypto-0.12/demo/ssl?
I am only connecting one client, the echo.py example in the same directory.
Although the synchronous and threading examples work ok, the async server
goes into an infinite loop:-

LOOP: SSL accept: before/accept initialization
LOOP: SSL accept: SSLv3 read client hello A
LOOP: SSL accept: SSLv3 write server hello A
LOOP: SSL accept: SSLv3 write certificate A
LOOP: SSL accept: SSLv3 write key exchange A
LOOP: SSL accept: SSLv3 write certificate request A
LOOP: SSL accept: SSLv3 flush data
LOOP: SSL accept: SSLv3 read client certificate A
LOOP: SSL accept: SSLv3 read client key exchange A
LOOP: SSL accept: SSLv3 read certificate verify A
LOOP: SSL accept: SSLv3 read finished A
LOOP: SSL accept: SSLv3 write change cipher spec A
LOOP: SSL accept: SSLv3 write finished A
LOOP: SSL accept: SSLv3 flush data
INFO: SSL accept: SSL negotiation finished successfully
LOOP: SSL accept: before/accept initialization
INFO: SSL accept: SSLv3 read client hello B
INFO: SSL accept: SSLv3 read client hello B
INFO: SSL accept: SSLv3 read client hello B
etc...

I'm runnung on a newish linux, kernel 2.4.21. Both python2.1 and python2.3
display the same result.

Regards, Paul Clinch

Jul 18 '05 #1
  • viewed: 1540
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.